VAR1:=100*(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21));
VAR2:=100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21));
海面情况: SMA(VAR1,3,1), COLORB0FFFF,LINETHICK0;
下潜深度: SMA(VAR2,3,1),LINETHICK1 ,COLORGREEN;
有暗礁:IF(CROSS(93,海面情况),97,100),COLOR55AAFF,LINETHICK1;
DRAWTEXT(CROSS(93,海面情况),90,'▲有暗礁。转航'), LINETHICK2 ,COLORF0F000;
STICKLINE(下潜深度<12 , 0,16 ,8 , 0),COLOR55AAFF;
海底宝物:IF(CROSS(12,下潜深度),3,0),COLOR00CCCC,LINETHICK0;
DRAWTEXT( 海底宝物=3, 32,'有宝物');
DRAWICON(海底宝物,43,12);
A:=C/REF(C,1)>=1.099;
B:=O=L AND H=C;
D:=V < MA(V,5) AND V < REF(V,1);
印钞机:IF((A AND B AND D AND COUNT(A AND B AND D,20)=1),100,0),STICK,COLOR00CCCC,LINETHICK3;
DRAWTEXT(印钞机,50,'$买到就是送钱的来了') ,COLORRED,LINETHICK3;
{宝物选股}
Var1:=100*(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21));
Var2:=100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21));
下潜深度:= SMA(Var2,3,1);
海底宝物:CROSS(12,下潜深度);
{高成功选股}
Var2:=100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21));
增加选股: SMA(Var2,3,1)<12; |