同花顺耶稣奇妙撑压主图指标公式主图、源码
耶稣奇妙撑压主图指标公式源码如下:
HHV(H,20);
LLV(L,20);
ae:SMA(HHV(H,20),20,1);
be: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),Color00cc99;
STICKLINE((dd4 OR dd5) AND O<=C ,C,O,7,0),Color00cc99;
STICKLINE((dd4 OR dd5) AND O>=C ,H,L,0.5,0),Color3F8C3A;
STICKLINE((dd4 OR dd5) AND O>=C ,C,O,7,0),Color3F8C3A;
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),Colorff33ff;
STICKLINE((dd3 OR C>aa2) AND O>=C,H,L,0.5,0),Colorff33ff;