首页 > 编程语言 >真正的黄金K线主图源码

真正的黄金K线主图源码

时间:2024-01-27 19:12:51浏览次数:25  
标签:EMA 14 A1X CROSS 线主图 源码 CLOSE REF 黄金



TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
AA1:=AMOUNT/VOL;
BB1:=L<aa1*0.9; <br="">CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<ma(c,5)*0.921; <br="">EE1:=VOL<ma(v,5)*1.5; <br="">FF1:=BB1 AND CC1 AND DD1 AND EE1;
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<ref(o,1) and="" f<0,1,0);="" <br="">P2:=IF(C<ref(o,2) and="" f<0,1,0);="" <br="">TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
Z1:=MA(C,13);
ZX:=REF(Z1,13/2+1);
DRAWICON(CROSS(ZX,C),H*1.01,2);
DRAWTEXT(CROSS(CLOSE,TT1)AND J<55,LOW,'买'),COLORRED;
DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,'顶'),COLOR00FFFF;
STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFF00FF;
A1:=EMA(C,14)COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
买入:IF(A1X>=0,REF(EMA(C,2),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLOR0000FF,LINETHICK4;
空仓:IF(A1X<0,REF(EMA(C,2),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK4;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(A1X,0)OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)COLORWHITE;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0)COLORWHITE;
持仓线:=EMA(C,14);
止盈线:EMA(C,7),LINETHICK1,COLORWHITE;
工作区:IF(C>=持仓线 AND EMA(C,14)>=EMA(C,25),持仓线,DRAWNULL), COLORRED,LINETHICK2;
多空线:EMA(C,25),COLORYELLOW;
{DRAWICON(CROSS(工作线,生命线),工作线*0.95,5);

DRAWICON(CROSS(C,多空线) AND C>EMA(C,14),L*0.99,1);
DRAWICON(COUNT(C<ema(c,7),2)=2 and="" ema(c,7)="">EMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);
DRAWICON(CROSS(持仓线,C) AND EMA(C,14)>EMA(C,25),H*1.01,8);{止损位}
IF(CROSS(多空线,持仓线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN;
 

 

标签:EMA,14,A1X,CROSS,线主图,源码,CLOSE,REF,黄金
From: https://www.cnblogs.com/zhibiao/p/17991803

相关文章

  • 通达信神龙擒庄主图指标公式源码
    ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);CY:stICKLINE(CLOSE/REF(CLOSE,1)>=1.1,CLOSE-(CLOSE-OPEN)/3,OPEN,2,0),COLORYELLOW;ZT:STICKLINE(CLOSE/REF(CLOSE,1)>=1.0989ANDCLOSE=HIGH,CLOSE,OPEN,2,0),COLORYELLOW;DY:STICKLINE(CLOSE/REF(CLOSE,1)>=......
  • 通达信涨停宝抄底宝主图指标公式源码副图
    M1:=10;M2:=20;N:=20;二品:(1+M1/100)*ma(CLOSE,N),COLORYELLOW;四品:(1-M2/100)*MA(CLOSE,N),COLORBLUE;三品:(二品+四品)/2,COLORWHITE;一品:8*(二品+四品)/14,COLORRED;五品:6*(二品+四品)/14,COLORGREEN;TM:=1200823;涨停:IF(DATE<tm,ztprice(ref(c,1),if(codelike('......
  • 通达信强弱界限指标公式源码副图
    VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,34);VARB:=HHV(HIGH,34);BB:=Ema((VAR6-VAR8)/(VARB-VAR8)*100,13);VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;K1:=SMA(RSV1,13,1);D1:=SMA(K1,13,1);浪:=EMA(D1,3)......
  • 通达信筹码乾坤指标公式源码副图
    显示:=1;A20:WINNER(COst(97))-WINNER((COST(97)-COST(3))/40*38+COST(3));A19:WINNER((COST(97)-COST(3))/40*38+COST(3))-WINNER((COST(97)-COST(3))/40*36+COST(3));A18:WINNER((COST(97)-COST(3))/40*36+COST(3))-WINNER((COST(97)-COST(3))/40*34+COST(3));A17:WINNER(......
  • 通达信行业板块看盘加强版指标公式源码
    创业板:=INBLOCK('创业板');中小企业:=INBLOCK('中小板');上证A股:=INBLOCK('上证A股');深证A股:=INBLOCK('深证A股');INDEH:=IF(中小企业=1,"399005$H",IF(创业板=1,"399006$H",IF(上证A股=1,"999999$H","399001$H"))),NOD......
  • 通达信立量桩选股指标公式源码副图
    均价:=(3*C+H+L+O)/6;VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;TJ1:=VOL=HHV(VOL,10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1ANDCLOSE>REF(......
  • 通达信【小楷超级竞价秘籍】竞价低吸+激进模式二合一玩转竞价 源码文件分享
     本套竞价指标,原价200金钻哦(1金钻=10元,就是2000元哦)小楷超级竞价秘籍,经过半年时间的研发测试,现在将这套系统推出!一、此指标包括选股预警+使用说明,预警时间为上午9.25-9.30分二、此指标包括两种竞价模式竞价激进模式+竞价低吸模式三、竞价激进模式适用于激进选手,出票一般都是......
  • 通达信低位强庄识牛股指标公式源码
      上面截图为设置盘中涨幅">=8.5%”的“打板模式”的胜率,个人是不支持也不喜欢打板模式的,但发现很多坛友热衷此道甚至还有花钱去买打板指标,我就免费分享出来这个指标模式的打板设置评测仅供参考  {副图公式}VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,34);VARB:=HHV......
  • 通达信四串阴阳主图指标公式源码
    {四串阴}DD_0:=EVERY(C<o,4);DD_1:=REF(H,BARSLAST(CONST(BARSLAST(DD_0))+4=CURRBARSCOUNT));STICKLINE(H,DD_1,DD_1,5,-1)COLORLIGREEN;STICKLINE(BARSLAST(DD_0)<=20ANDREF(C,1)<=DD_1ANDC>DD_1,O,(C+O)/2,0.8,0)COLORYELLOW;STICKLINE(L<dd_1and=&q......
  • 通达信金牛探底专注牛股指标公式源码
    A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);获利回吐:(A2>=0)*A2,colorwhite,LINETHICK0;大黑马:(A2<0)*A2,COLORD4FF7F,LINETHICK0;坚绝做空:(A1<0)*A1,COLORB00058,LINETHICK0;买入持股:(A1>=0)*A1,colorred,LINETHICK0;STICKLINE(A2>=0,A2,0,5,0),colorwhite;STICKLINE......