午夜视频在线网站,日韩视频精品在线,中文字幕精品一区二区三区在线,在线播放精品,1024你懂我懂的旧版人,欧美日韩一级黄色片,一区二区三区在线观看视频

分享

通達信融合分時主圖指標(源碼)

 yibing168 2022-08-05 發(fā)布于湖南
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,10,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,10,0),COLOR00CC66;
日牛熊線:=EMA(C,120),COLORFF0080,LINETHICK1;
最新:CLOSE,LINETHICK1,COLORWHITE;
{CLOSE,LINETHICK1,COLORWHITE;}
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);
DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 我贏漲↑',CON2STR(最新,2))),COLOR0000FF;
DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' 跌↓',CON2STR(最新,2))),COLOR00FF00;
上漲家數(shù):=CONST(IF(PERIOD=0 ,'FSKY2.上漲家數(shù)#DAY',DRAWNULL)),NODRAW;
下跌家數(shù):=CONST(IF(PERIOD=0 ,'FSKY2.下跌家數(shù)#DAY',DRAWNULL)),NODRAW;
一純%:=CONST(IF(PERIOD=0 ,'FSKY2.一純%#DAY',DRAWNULL)),NODRAW;
三純%:=CONST(IF(PERIOD=0 ,'FSKY2.三純%#DAY',DRAWNULL)),NODRAW;
五純%:=CONST(IF(PERIOD=0 ,'FSKY2.五純%#DAY',DRAWNULL)),NODRAW;
DRAWTEXT_FIX(1,0.200,1-0.08,0,STRCAT('上漲家數(shù):',CON2STR(上漲家數(shù),0))),COLOR0000FF;
DRAWTEXT_FIX(1,0.600,1-0.08,0,STRCAT('下跌家數(shù):',CON2STR(下跌家數(shù),0))),COLOR00FF00;
分時均價線:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
K:=IF((分時均價線-DYNAINFO(3))/DYNAINFO(3)*100>0.5,0.5,0);
DRAWTEXT_FIX(五純%>=0,0.6,1-0.9+K,0,STRCAT('五日純量%: ',CON2STR(五純%,2))),COLOR0000FF;
DRAWTEXT_FIX(五純%<0,0.6,1-0.9+K,0,STRCAT('五日純量%: ',CON2STR(五純%,2))),COLORFFFF00;
DRAWTEXT_FIX(三純%>=0,0.6,1-0.8+K,0,STRCAT('三日純量%: ',CON2STR(三純%,2))),COLOR0000FF;
DRAWTEXT_FIX(三純%<0,0.6,1-0.8+K,0,STRCAT('三日純量%: ',CON2STR(三純%,2))),COLORFFFF00;
DRAWTEXT_FIX(一純%>=0,0.6,1-0.7+K,0,STRCAT('當日純量%: ',CON2STR(一純%,2))),COLOR0000FF;
DRAWTEXT_FIX(一純%<0,0.6,1-0.7+K,0,STRCAT('當日純量%: ',CON2STR(一純%,2))),COLORFFFF00;
今日開盤線:DYNAINFO(4),COLORMAGENTA;
今日最高價:=DYNAINFO(5),COLORBLUE;
今日最低價:DYNAINFO(6),COLORGREEN;
今日均價線:=DYNAINFO(11),COLORYELLOW;
CC:=C;
TT:=BARSCOUNT(CC);
均價:SUM(V*C,0)/SUM(V,0),COLORGREEN;
均:=MA(CC,TT);
上均線:=均+2*STD(CC,3),COLORMAGENTA;
下均線:=均-2*STD(CC,3),COLORYELLOW;
DRAWICON(CROSS(均價,均),均價,1);
時長:=TIME>93000;
漲幅:=CC/REF(C,1)>1.02;
跌幅:=CC/REF(C,1)<0.98;
橫盤:=((HHV(CC,TT)-LLV(CC,TT))/CC)<0.05;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;
漲跌幅:=漲幅 OR 跌幅;
橫漲1:=漲跌幅=0 AND 橫盤 AND 放量 AND CROSS(均價,均);
DRAWTEXT(FILTER(橫漲1,10),均價,'突'),COLORYELLOW;
橫漲2:=漲跌幅=0 AND 橫盤 AND 放量 AND CROSS(C,均價) AND CROSS(C,均);
DRAWTEXT(FILTER(橫漲2,10),均價*0.99,'升'),COLORRED;


    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約