源码
YS1:=(((HIGH + LOW) + (CLOSE * 2)) / 4);
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(((YS1 - RK3) * 100) / RK4);
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=(((EMA(RK6,10) + 100) / 2) - 5 );
跌:=EMA(涨,4);
回调可进:=IF((CROSS(涨,跌) AND (跌 < (0 - 10))),20,0);
风险:IF(CROSS(跌,80),80,100),LINETHICK1,colorred; 量价线1:EMA(跌,4) ,coloryellow;
量价线2:EMA(量价线1,4) ,colorgreen;
量价线3:EMA(量价线2,4) ,COLORFFFF00;
量价线4:EMA(量价线3,4) ,COLORFF0000;
上升:IF((涨 > =REF(涨,1)),涨,0),LINETHICK3,colorred;
下跌:IF((涨 <REF(涨,1)),涨,0),LINETHICK3,colorgreen;
转向:IF(CROSS(跌,80),涨,0),LINETHICK1,coloryellow;
DRAWTEXT(回调可进,20,'回调可进'),COLORCCCCFF;
DRAWTEXT(((((涨 > REF(涨,1)) AND (跌 < 10)) AND (跌 > (0 - 10))) AND (REF(涨,1) < REF(涨,2))),10,'安全区'),COLORCCFF99;
VAR22:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
VAR3:=(((CLOSE - VAR22) / VAR22) * 100);
DRAWTEXT((((涨 < REF(涨,1)) AND (REF(涨,1) > REF(涨,2))) AND (涨 > 105)),(涨 - 3),'逃顶'),LINETHICK2,colorred;