以下是大智慧黑鬼起步XXP版主图指标
大智慧黑鬼起步XXP版主图指标
源码
P:=60;
天河彩虹图: EMA(CLOSE,8);
H2: EMA(天河彩虹图,20);
LH: EMA(CLOSE,240),COLORRED;
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,5,1);
Var3:=SMA(Var2,8,1);
Var4:=CROSS(Var2,Var3) AND Var3<20;
Var5:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND Var4;
Var6:=IF(CLOSE>1000,Var4,Var5);
DRAWICON(CROSS(天河彩虹图,H2) AND CLOSE<EMA(CLOSE,60),LOW,1);
{DRAWICON(Var6,HIGH,2);}
T1:=天河彩虹图-H2;
STICKLINE(天河彩虹图>H2,天河彩虹图,H2,3,0),color30E0EC;
STICKLINE(天河彩虹图>H2,天河彩虹图-T1*0.5,H2,3,0),COLORFFCCFF;
STICKLINE(天河彩虹图>H2,天河彩虹图-T1*0.7,H2,3,0),COLORFFCCFF;
STICKLINE(天河彩虹图>H2,天河彩虹图-T1*0.9,H2,3,0),COLORFF66FF;
STICKLINE(天河彩虹图<H2,天河彩虹图+T1*0.2,H2,3,0),COLOR009900;
STICKLINE(天河彩虹图<H2,天河彩虹图-T1*0.2,H2,3,0),COLOR336633;
STICKLINE(天河彩虹图<H2,天河彩虹图-T1*0.5,H2,3,0),COLORFF6633;
Var11:=(REF(HIGH,1)+REF(LOW,1))/2;
Var22:=MA(CLOSE,20)+2*STD(CLOSE,20);
{DRAWICON(CROSS(Var11,Var22),HIGH*1.035,2);}
{DRAWTEXT(CROSS(Var11,Var22),HIGH*1.02,\’谨慎\’),COLORGREEN;}
Var33:=REF(CLOSE,1);
Var44:=SMA(MAX(CLOSE-Var33,0),7,1)/SMA(ABS(CLOSE-Var33),7,1)*100;
Var55:=CROSS(79,Var44);
Var66:=FILTER(Var55,4);
{DRAWICON(Var66,HIGH*1.035,2);}
DRAWTEXT(Var66,HIGH*1.02,\’谨慎\’),COLORGREEN;