收集:中国股票市场经济分析网
玉女天河--一个非常不错的主图公式
参数{n 1 100 5 n1 1 100 15}
H1:EMA(CLOSE,n),colorwhite;
H2:EMA(H1,n1);
牛熊界:EMA(CLOSE,250),CIRCLEDOT,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(H1,H2) AND CLOSE<EMA(CLOSE,60),LOW,1);
DRAWICON(Var6,H,2);
STICKLINE(C>=O,C,O,7,0),COLORRED;
STICKLINE(C>=O,C,O,4,0),COLORB0B0FF;
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C<=O,C,O,7,0),COLORFF2020;
STICKLINE(C<=O,C,O,4,0),COLORFF6600;
STICKLINE(C<=O,C,O,2,0),COLORWHITE;
STICKLINE(C<=O,H,L,0,0),COLORWHITE;
上轨: SMA(AMOUNT/VOL/100,N,1)*1.13 ,COLORRED;
超买: SMA(AMOUNT/VOL/100,N,1)*1.21,CROSSDOT,COLORYELLOW;
下轨: SMA(AMOUNT/VOL/100,N,1)*0.87,COLORRED;
超卖: SMA(AMOUNT/VOL/100,N,1)*0.79,CROSSDOT,COLORYELLOW;
STICKLINE(H1>H2,H1,H2,1,1),COLORRED;
STICKLINE(H1<H2,H1,H2,1,1),COLORGREEN;
注:在大智慧上测试通过。