首页 > 编程语言 >通达信MA筹码主图指标公式源码

通达信MA筹码主图指标公式源码

时间:2024-03-09 09:03:56浏览次数:26  
标签:MA STICKLINE 主图 源码 LOW 90 CLOSE REF

{ 通达信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;
STICKLINE(X_1>CLOSE,X_2,X_1,1,0),COLORBLacK;
STICKLINE(X_1>CLOSE,X_2,X_1,0.5,0),COLORGRAY;
STICKLINE(X_1>REF(X_1,1),X_1,X_2,2,0),COLOR1388A3;
STICKLINE(X_1>REF(X_1,1),X_1,X_2,1,0),COLORBLACK;
STICKLINE(X_1>REF(X_1,1),X_1,X_2,0.5,0),COLOR1388A3;
STICKLINE(X_1=X_2,X_2,LOW,2,0),COLORYELLOW;
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
MA7:MA(CLOSE,M7);
MA8:MA(CLOSE,M8);
X_3:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
X_4:=EMA(X_3,5);
X_5:=REFDATE(REF(HHV(MAX(CLOSE,OPEN),96),5),DATE);
X_6:=REFDATE(REF(LLV(MIN(CLOSE,OPEN),96),5),DATE);
X_7:=(X_5+X_6)/2;
箱顶:IF(X_3>0 AND X_3-X_4<=0,X_5,X_5),DOTLINE,COLORRED;
箱腰:IF(X_3>0 AND X_3-X_4<=0,X_7,X_7),DOTLINE,COLORYELLOW;
箱低:IF(X_3>0 AND X_3-X_4<=0,X_6,X_6),DOTLINE,COLORLIGRAY;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

 

标签:MA,STICKLINE,主图,源码,LOW,90,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/18062226

相关文章

  • 通达信突破龙头指标公式源码
    {通达信突破龙头指标公式源码}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......
  • 通达信短线起航指标公式源码
    {通达信短线起航指标公式源码}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="">P2:=IF(C<r......
  • 通达信分时资金流量主图指标公式
    {通达信分时资金流量主图指标公式}资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),stICK,COLORRED;资金流出:=-SUM(IF(C<ref(c,1),v,0),fromopen),stick,color00ff00;资金出入:=资金流入+资金流出,COLORSTICK;资金流量:=资金出入,COLORFFFFFF,LINETHICK1;资金比:=资金出入/S......
  • 用lazarus编写的类RichView显示控件初步支持markdown格式的表格,并增加单元格字体颜色
    用lazarus编写的类RichView显示控件初步支持markdown格式的表格,并增加单元格字体颜色等功能,可在信创电脑使用,功能慢慢添加中。github:https://github.com/szlbz/QFComponent其中图像格式支持:bmp,jpg,png等 除以上格式外,还支持单、双分割线等......
  • 通达信分时大宗买卖指标公式源码
    {通达信分时大宗买卖指标公式源码}大单买量:=SUM(IF(C>REF(C,1)ANDV>4000,V/1000,0),0),NODRAW;大单卖量:=SUM(IF(C<ref(c,1)and=""v="">4000,V/1000,0),0),NODRAW;买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;卖单总量:=SUM(IF(C<ref(c,1),v1000,0)......
  • 通达信资金主力拉升选股指标公式源码
    {通达信资金主力拉升选股指标公式源码}VAR1:=(HIGH+LOW+CLOSE*2)/4;VAR2:=EMA(VAR1,21);VAR3:=stD(VAR1,21);VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;VAR5:=(EMA(VAR4,89)-25)*1.56;VAR6:=EMA(VAR5,5)*1.22;VAR7:=EMA(VAR6,3);VAR8:=3*VAR6-2*VAR7;VAR1A:=IF(crOSS(VAR6,......
  • 通达信千载难买黄金坑,黄金坑群来了源码
    {通达信千载难买黄金坑,黄金坑群来了源码}RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; 短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLO......
  • app直播源码,封装调用第三方服务的请求与响应
    在开发app直播源码的过程中,经常会遇到调用一些第三方的请求与响应,如果只是简单的两种请求与响应那么我们只需要去简单的去封装请求头与请求体即可,并且拼接第三方调用的key即可,但是遇到一些流程比较繁琐的调用就显得非常的麻烦了。而高效的去封装这些服务的请求与响应实体不仅......
  • TreeMap练习
    TreeMap练习1."aababcabcdabcde",获取字符串中每一个字母出现的次数要求结果:a(5)b(4)c(3)d(2)e(1)packagecom.shujia.day14;importjava.util.Map;importjava.util.Set;importjava.util.TreeMap;publicclassTreeMapTest1{publicstaticvoidmain(String[]arg......