首页 > 编程语言 >通达信抵扣均线主图指标公式源码副图

通达信抵扣均线主图指标公式源码副图

时间:2024-03-09 09:12:15浏览次数:31  
标签:1.035 ISLASTBAR DRAWTEXT 主图 通达信 源码 抵扣 1.015 CURRBARSCOUNT

{ 通达信抵扣均线主图指标公式源码副图 }

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250);
DRAWICON(CURRBARSCOUNT=5+1,L/1.015,13);
DRAWICON(CURRBARSCOUNT=10+1,L/1.015,26);
DRAWICON(CURRBARSCOUNT=20+1,L/1.015,25);
DRAWICON(CURRBARSCOUNT=60+1,L/1.015,27);
DRAWICON(CURRBARSCOUNT=120+1,L/1.015,14);
DRAWICON(CURRBARSCOUNT=240+1,L/1.015,66);
DRAWTEXT(CURRBARSCOUNT=5+1,L/1.035,'5');
DRAWTEXT(CURRBARSCOUNT=10+1,L/1.035,'10');
DRAWTEXT(CURRBARSCOUNT=20+1,L/1.035,'20');
DRAWTEXT(CURRBARSCOUNT=60+1,L/1.035,'60');
DRAWTEXT(CURRBARSCOUNT=120+1,L/1.035,'120');
DRAWTEXT(CURRBARSCOUNT=240+1,L/1.035,'240');
A5:=REF(C,6);
B5:=stRCAT('5日抵扣价:',CON2STR(A5,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.05,0,B5),COLOR00FA9A;
A10:=REF(C,11);
B10:=STRCAT('10日抵扣价:',CON2STR(A10,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.10,0,B10),COLOR9400D3;
A20:=REF(C,21);
B20:=STRCAT('20日抵扣价:',CON2STR(A20,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.15,0,B20),COLORYELLOW;
A60:=REF(C,61);
B60:=STRCAT('60日抵扣价:',CON2STR(A60,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.20,0,B60),COLORCYAN;
A120:=REF(C,121);
B120:=STRCAT('120日抵扣价:',CON2STR(A120,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.25,0,B120),COLORFF8C00;
A250:=REF(C,251);
B250:=STRCAT('250日抵扣价:',CON2STR(A250,2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.30,0,B250),COLORRED;

 

标签:1.035,ISLASTBAR,DRAWTEXT,主图,通达信,源码,抵扣,1.015,CURRBARSCOUNT
From: https://www.cnblogs.com/zhibiao/p/18062253

相关文章

  • 通达信三源主图指标公式源码
    {通达信三源主图指标公式源码}DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0);DRAWKLINE(H,O,L,C);MV10:=MA(V,10);AVG_V:=(V-MV10)/MV10*100;量差:=AVG_V-REF(AVG_V,1);假阴:=C>REF(C,1)ANDC<o;高开:=(O-REF(C,1))/REF(C,1)*100;倍量:=V>REF(V,1)*1.69ANDV......
  • 通达信短线起航副图源码
    {通达信短线起航副图源码}OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);BIAS:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;BIASMA:=MA(BIAS,6);F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<ref(o,1)and=""f<0,1,0);=""<br="">P......
  • 成品直播源码,大屏元素分辨率适配的常用方案
    越来越多的客户喜欢在成品直播源码中添加一个或者多个可视化大屏,用来集中的展现数据变化、位置变化等等。作为程序员在完成该需求时,经常会有这样的问题:我有一个大屏的模板,但是用户的浏览器分辨率不够,或者有的有书签栏有的没有书签栏,更或者是有的全屏了有的只是小窗口,这样就有了代......
  • 通达信主力筹码集中度指标公式源码
    {通达信主力筹码集中度指标公式源码}筹码集中度:(COst(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+C,COLOR00FFFF,LINETHICK3;前期高点:REF(HHV(筹码集中度,20),0),COLOR0000FF;前期高点2:=REF(HHV(筹码集中度,3),0);前期低点:=REF(LLV(筹......
  • 通达信超金钻大涨排序指标公式源码
    {通达信超金钻大涨排序指标公式源码}X_1:=DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*(DYNAINFO(4)-REF(CLOSE,1))/REF(CLOSE,1)*10000;今开%:=(OPEN/REF(CLOSE,1)-1)*100;X_7:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);X_8:=BArslAstCOUNT(X_7);昨日涨停次数:REF(X_8,1),NODRAW;X_......
  • 通达信快牛5号选股指标公式源码
    {通达信快牛5号选股指标公式源码}X_1:=vol/CAPITAL;X_2:=VOL/700000000;X_3:=IF(X_1=0,X_2,X_1);X_4:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);X_5:=2.5*MAX(X_3,X_4);X_6:=DMA(CLOSE,X_5);X_7:=SMA(20*(X_6/REF(X_6,1)-1),2,1);X_8:=EMA(X_7,2);X_9:=......
  • 通达信分时涨停OBV指标公式源码
    {通达信分时涨停OBV指标公式源码}早盘OBV值保持20,30以上出绿钻有涨停可能,第一市场处于强势每天涨停100只以上打开账户准备好9点25分打60涨幅排行榜看高开的最好5点以下,最好选择上午10点以前10点后的绿钻几乎无意义,第二选择第一次高开突破平台作为目标高开不要太多也可开盘打8......
  • 通达信MA筹码主图指标公式源码
    {通达信MA筹码主图指标公式源码}M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=144;M7:=189;M8:=250;X_1:=(COst(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))+CLOSE;X_2:=REF(HHV(X_1,20),0);STICKLINE(X_1>CLOSE,X_2,X_1,2,0),COLORGRAY;......
  • 通达信突破龙头指标公式源码
    {通达信突破龙头指标公式源码}HJ_1:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<llv(low,15)+(hhv(high,15)-llv(low,15))*0.85and=""close="">OPENANDCLOSE>=HHV(HIGH,10);HJ_2:=IF(DATETODAY(DATE)<999999999,1,......
  • 通达信骑牛图指标公式源码
    {通达信骑牛图指标公式源码}SHORT:=7;MID:=22;LONG:=44;转换线:=(HHV(H,SHORT)+LLV(L,SHORT))/2,COLORRED,LINETHICK2;基准线:(HHV(H,MID)+LLV(L,MID))/2,COLORFF8040,LINETHICK2;迟行带:=REFX(C,MID),COLORGRAY,LINETHICK2;A:=REF((转换线+基准线)/2,MID);B:=REF((HHV......