同花顺白底黄顶副图指标 源码介绍
同花顺白底黄顶副图指标 源码
用法:下粉上白表示底部(上白信号比下粉少)。
黄色表示顶(顶部在熊市较准,牛市要看均线的支撑)
LC:=EMA(CLOSE,3);
A:((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);
B:=MA(A,10);
QVAR1A:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10);
QVAR1B:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
dd:=SMA(QVAR1C,21,8);
ddd:(((dd-QVAR1D) < (0-65))),colorblue;
m2:(IF((ddd>0),-20,0) ),STICK,LINETHICK3;
m3:(IF((ddd>0) AND (A<15),40,0) ),STICK,LINETHICK3,colorwhite;
STICKLINE(A>50 AND A<REF(A,1) AND REF(A,1)>REF(A,2),A,40,2,0),coloryellow;
六成买入:IF((m2=-20 AND m3=0) OR COUNT(m3=40,4)=4,59,0),colorred;
gd47910