通信达公式密码破解 趋线支撑与压力副图公式源码(3)
DRAWTEXT(二次翻红,-0.15,'↖翻红'),COLORRED;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<0,DEA-0.02,'↖低买'),COLORFF00FF;
DRAWTEXT(CROSS(DIF,DEA) AND DIF>0,DEA-0.05,'↖加油'),COLORYELLOW;
XG:二次翻红 OR 低买 OR 加油,NODRAW;
YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);
阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));
支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));
今压:REF(阻价,1),LINETHICK0,COLORAA11BB,NODRAW;
今撑:REF(支价,1),LINETHICK0,COLOR009900,NODRAW;
明压:阻价,LINETHICK0,NODRAW;
明撑:支价,LINETHICK0,NODRAW;
DIFF:DIF,COLORRED,LINETHICK2;
DDEA:DEA,COLORYELLOW,LINETHICK2;VAR1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋线1:=EMA(VAR1,3) ;
VAR2:=(趋线1-REF(趋线1,1))/REF(趋线1,1)*100;
清仓:IF(趋线1>=90 AND VAR2<0,100,80),STICK,LINETHICK3,COLOR00FF00;80,STICK,LINETHICK3,COLOR000000;
准备:IF(趋线1<=13,20,0),STICK,LINETHICK3,COLORYELLOW;
买入:IF(趋线1<=13 AND VAR2>13,50,0),STICK,LINETHICK3,COLORRED;
0, LINETHICK0, COLOR999999;100, LINETHICK0, COLOR999999;
趋线:趋线1,LINETHICK1,COLORF0F000;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)