庖丁解牛120露水-云指标公式网
黄线为支撑线,白线为压力线。具体用法与均线类似。
HHV(H,20);
LLV(L,20);
阻力线:SMA(HHV(H,20),20,1);
支撑线:SMA(LLV(L,20),20,1);
aa1:=WMA(C,2);
bb1:=EMA(aa1,2);
a:=MA(bb1,3);
aa2:=WMA((H+C+O)/3,18);
dd3:=a>=aa2 AND C>aa2;
dd4:=a<aa2 ;
dd5:=a>aa2 ;
STICKLINE((dd4 OR dd5) AND O<=C ,H,L,0.5,0),colorcyan;
STICKLINE((dd4 OR dd5) AND O<=C ,C,O,7,0),colorcyan;
STICKLINE((dd3 OR C>aa2) AND O<=C,C,O,7,0),colorred;
STICKLINE((dd3 OR C>aa2) AND O<=C,H,L,0.5,0),colorred;
STICKLINE((dd3 OR C>aa2) AND O>=C,C,O,7,0),coloryellow;
STICKLINE((dd3 OR C>aa2) AND O>=C,H,L,0.5,0),coloryellow;
STICKLINE((dd4 OR dd5) AND O>=C ,H,L,0.5,0),colorgreen;
STICKLINE((dd4 OR dd5) AND O>=C ,C,O,7,0),colorgreen;
赞 (0)