九毛八公式指标
"下穿公式"一:指标线白色和绿色线60以上下穿红色和黄色线。思路:副图指标白色和绿色线高位【比如60以上】同时下穿红色和黄色线,下穿即卖出提示。 “上穿公式”二:指标白色和绿色线在25以下上穿红色和黄色线。思路:同上,上穿即买入提示。 源码【感谢源码作者】 VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K13:SMA(VAR13,3,1), COLORWHITE; D13:=SMA(K13,3,1), COLORWHITE; VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K21:SMA(VAR21,3,1), COLORGREEN; D21:=SMA(K21,3,1), COLORGREEN; VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K34:SMA(VAR34,3,1), COLORYELLOW; D34:=SMA(K34,3,1), COLORYELLOW; VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:SMA(VAR55,3,1),COLORRED; D55:=SMA(K55,3,1),COLORRED; DIBU:= K13<20 and d13<20 k21<20 d21<20 k34<20 d34<20 k55<20 d55<20; tobu: =K13>80 AND D13>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80; 感谢千钧老师批评指导,谢谢!!
公式模块:
买入提示选股
VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K13:=SMA(VAR13,3,1), COLORWHITE; D13:=SMA(K13,3,1), COLORWHITE; VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K21:=SMA(VAR21,3,1), COLORGREEN; D21:=SMA(K21,3,1), COLORGREEN; VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K34:=SMA(VAR34,3,1), COLORYELLOW; D34:=SMA(K34,3,1), COLORYELLOW; VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:=SMA(VAR55,3,1),COLORRED; D55:=SMA(K55,3,1),COLORRED; {指标白色和绿色线在25以下上穿红色和黄色线} {下穿公式"一:指标线白色和绿色线60以上下穿红色和黄色线。}; T1:=K13<25; T2:=K21<25; T3:=K13>60; T4:=K21>60; (crOSS(T1&&T2,K55))AND(CROSS(T1&&T2,K34)); 卖出提示选股 VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K13:=SMA(VAR13,3,1), COLORWHITE; D13:=SMA(K13,3,1), COLORWHITE; VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K21:=SMA(VAR21,3,1), COLORGREEN; D21:=SMA(K21,3,1), COLORGREEN; VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K34:=SMA(VAR34,3,1), COLORYELLOW; D34:=SMA(K34,3,1), COLORYELLOW; VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:=SMA(VAR55,3,1),COLORRED; D55:=SMA(K55,3,1),COLORRED; {指标白色和绿色线在25以下上穿红色和黄色线} {下穿公式"一:指标线白色和绿色线60以上下穿红色和黄色线。}; T1:=K13<25; T2:=K21<25; T3:=K13>60; T4:=K21>60; (CROSS(K55,T3&&T4))AND(CROSS(K34,T3&&T4));
20>