通达信公式大保专用
危机线:85,POINTDOT COLOR22A6E6;
中间线:50,POINTDOT COLOR77AA1A;
安全线:15,POINTDOT COLORWHITE;
V1:=(2*CLOSE+HIGH+LOW)/4;
V2:=LLV(LOW,34);
VA:=HHV(HIGH,34);
防线B:=EMA((V1-V2)/(VA-V2)*100,13);
防线BB:=EMA((0.667*REF(防线B,1)+0.333*防线B),2);
战术线:防线B,COLORFFFF00,POINTDOT;
战略线:EMA(0.382*REF(防线B,2)+0.618*防线B,12),COLORYELLOW;
STICKLINE(防线B 防线BB,防线B,防线BB,4.8,0),COLORRED;
STICKLINE(防线B =防线BB,防线B,防线BB,4.8,0),COLOR00FF00;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
VAR6:=MA(VAR5,1);
战无不胜: IF(VAR6 -12,30,0),LINETHICK1,COLORGREEN;
逢低介入: STICKLINE(VAR6 =-12,68,0,1,0), , COLORRED;