最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信趋势操作买卖主图指标公式

    正文概述    2024-05-04 03:58:08  
    LC:=REF(C,1); SHARP:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100,COLORWHITE,LINETHICK1; RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100,COLORAAAAAA; RSI2:=SMA(RSI1,7,1),COLOR11DD11,LINETHICK2; 趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC; 趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD; 趋势线:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORFF77CC,LINETHICK2; WR1:=XMA(趋势F,7)*1.372,COLOR0011FF,LINETHICK2;{有未来函数!} 趋势生成:=CROSS(WR1,趋势线); W1:=WR1-REF(WR1,1); Q1:=趋势线-REF(趋势线,1); YTJ1:=SHARP =RSI2ANDWR1 REF(WR1,1)AND趋势线-WR1 1.6AND趋势线 YTJ2:=Q1 0ANDREF(趋势线-WR1,1) (趋势线-WR1); YTJ3:=Q1 YTJ4:=SHARP RSI2ANDWR1 REF(WR1,1)AND趋势线-WR1 1AND趋势线 YTJ5:=(YTJ1ANDYTJ2)OR(YTJ1ANDYTJ3)OR(YTJ2ANDYTJ4)OR(YTJ3ANDYTJ4); 先趋提示:(COUNT(趋势生成,4)=1ANDWR1 REF(WR1,1)ANDSHARP =RSI2); 先叉提示:YTJ5ANDSHARP 先趋确认:(COUNT(趋势生成,5)=1ANDWR1 趋势线ANDWR1 REF(WR1,1)ANDCROSS(SHARP,RSI2)); 先叉确认:(趋势生成ANDSHARP RSI2ANDSHARP 50ANDREF(SHARP,1) 日线锁定:=(PERIOD==5)AND(C 0)ANDV 引力:=(ma(C,30)+MA(C,72))/2; 下轨:=引力*0.73; 下轨75:=引力*0.75; 下轨71:=引力*0.71; 下轨68:=引力*0.68; 过滤周期:=1; VAR1:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; :=EMA(EMA(CLOSE,8),8); 资金抬轿:=(资金-REF(资金,1))/REF(资金,1)*1000; 有庄控盘:=资金抬轿 无庄控盘:=资金抬轿 买线:=EMA(C,3); 卖线:=EMA(SLOPE(C,22)*20+C,54); BU1:=crOSS(买线,卖线); SEL1:=CROSS(卖线,买线); BU2:=IFF(BU1AND有庄控盘,1,IFF(COUNT(BU1AND无庄控盘,BArslAst(SEL1)+1)==1ANDCROSS(资金抬轿,0),1,0)); BU:=BU2ANDCOUNT(BU2,BARSLAST(SEL1)+1)==1; SEL:=SEL1ANDCOUNT(SEL1,BARSLAST(BU)+1)==1; BUNEW:=BU; 止损条件:=CLOSE/REF(OPEN,BARSLAST(BU)) (1-7/100)ANDCOUNT(BU,BARSLAST(BU)+1)==1ANDCOUNT(SEL,BARSLAST(BU)+1)==0; SELNEW:=IFF(止损条件ANDCOUNT(止损条件,BARSLAST(BU)+1)==1,1,IFF(SELANDCOUNT(止损条件,BARSLAST(BU)+1)==0,1,0)); 重新买入:=COUNT(止损条件,BARSLAST(BUNEW)+1) =1ANDCROSS(C,0.965*REF(O,BARSLAST(BUNEW))); 不在同一天1:=((重新买入ANDSELNEW)==0);BUNEW2:=((BUNEWANDCOUNT(SELNEW,过滤周期)==0)OR重新买入)AND不在同一天1; 二次止损:=(CLOSE/REF(OPEN,BARSLAST(重新买入)) (1-7/100)ANDCOUNT(重新买入,BARSLAST(重新买入)+1)==1ANDCOUNT(SEL,BARSLAST(重 新买入)+1)==0); 重新卖出:=(SELANDCOUNT(重新买入,BARSLAST(BUNEW2)+1)==1)OR(二次止损ANDSUM(二次止损,0)==1); 不在同一天2:=((重新卖出ANDBUNEW2)==0); SELNEW2:=((SELNEWANDCOUNT(SELNEW,BARSLAST(BUNEW2)+1)==1)OR重新卖出)AND不在同一天2; BUNEW3:=BUNEW2ANDCOUNT(BUNEW2,BARSLAST(SELNEW2)+1)==1; SELNEW3:=SELNEW2ANDCOUNT(SELNEW2,BARSLAST(BUNEW3)+1)==1; D:=BARSLAST(BUNEW3)+1 =1ANDCOUNT(SELNEW3,BARSLAST(BUNEW3)+1)==0; K:=BARSLAST(SELNEW3)+1 =1ANDCOUNT(BUNEW3,BARSLAST(SELNEW3)+1)==0; 修正部分定位:=IFF(COUNT(SELNEW3,BARSCOUNT(C))==0ANDCOUNT(BUNEW3,BARSCOUNT(C))==0,1,0); 修正部分累计:=SUM(修正部分定位,1000)+1; 精准修正累计:=IFF(修正部分累计==REF(修正部分累计,1)ANDREF(修正部分累计,2) 修正部分累计,修正部分累计,0); 上市修正B:=修正部分定位ANDCROSS(控盘,0); 上市修正S:=修正部分定位ANDCROSS(0,控盘)ANDCOUNT(上市修正B,BARSLAST(C 0)) 上市D:=COUNT(上市修正B,BARSLAST(上市修正B)+1)==1ANDCOUNT(上市修正S,BARSLAST(上市修正B)+1)==0ANDCOUNT(SELNEW3,BARSCOUNT (C))==0; 上市K:=COUNT(上市修正S,BARSLAST(上市修正S)+1)==1ANDCOUNT(上市修正B,BARSLAST(上市修正S)+1)==0ANDCOUNT (BUNEW3,BARSCOUNT(C))==0; SSXZBZS:=COUNT(上市修正B,BARSCOUNT(C)); SSXZSZS:=COUNT(上市修正S,BARSCOUNT(C)); QB:=IFF(修正部分定位,上市修正B,BUNEW3); QS:=IFF(修正部分定位,上市修正SAND(SSXZBZS==SSXZSZSANDSSXZBZS =0ANDCOUNT(SELNEW3,BARSCOUNT(C))==1ANDCOUNT (BUNEW3,BARSCOUNT(C))==0)==0,SELNEW3AND(SSXZBZS==SSXZSZSANDSSXZBZS =0ANDCOUNT(SELNEW3,BARSCOUNT(C))==1ANDCOUNT (BUNEW3,BARSCOUNT(C))==0)==0); K补:=(COUNT(上市修正B,BARSLAST(C 0))==0ANDCOUNT(QB,BARSLAST(C 0))==0)==0; 定位B68:=QBANDCOUNT(L 下轨68,10) 定位B71:=QBANDCOUNT(L 下轨71,10) 定位B75:=QBANDCOUNT(L 下轨75,10) 定位68B:=EXIST(定位B68,BARSLAST(BUNEW)+1)AND重新买入ANDQB; 定位71B:=EXIST(定位B71,BARSLAST(BUNEW)+1)AND重新买入ANDQB; 定位75B:=EXIST(定位B75,BARSLAST(BUNEW)+1)AND重新买入ANDQB; 概率1:=IFF(定位B68,5,IFF(定位B71,4,IFF(定位B75,3,0))); 概率2:=IFF(定位68B,5,IFF(定位71B,4,IFF(定位75B,3,0))); 概率:=IFF(概率1 0,概率1,概率2); STICKLINE((DAND日线锁定)OR(上市DAND日线锁定),H,L,0.00,0),COLOR0000FF; STICKLINE((DAND日线锁定)OR(上市DAND日线锁定),C,O,3.00,0),COLOR0000FF; STICKLINE((KANDK补AND日线锁定)OR(上市KAND日线锁定),H,L,0.00,0),COLORFFFF00; STICKLINE((KANDK补AND日线锁定)OR(上市KAND日线锁定),C,O,3.00,0),COLORFFFF00; STICKLINE(C==OAND(DOR上市D)AND日线锁定,C,C,3,0),COLOR0000FF; STICKLINE(C==OAND(KANDK补)AND日线锁定,C,C,3,0),COLORFFFF00; 绘制多头:=(DAND日线锁定)OR(上市DAND日线锁定); 绘制空头:=(KANDK补AND日线锁定)OR(上市KAND日线锁定); 代修复部分:=绘制多头==0AND绘制空头==0; B修:=BARSLAST(QB); S修:=BARSLAST(QS); 补充绘制:=IFF(B修 S修AND代修复部分,1,IFF(B修 S修AND代修复部分,2,0)); STICKLINE(日线锁定AND补充绘制==1,H,L,0.00,0),COLOR0000FF; STICKLINE(日线锁定AND补充绘制==1,C,O,3.00,0),COLOR0000FF; STICKLINE(日线锁定AND补充绘制==2,H,L,0.00,0),COLORFFFF00; STICKLINE(日线锁定AND补充绘制==2,C,O,3,0),COLORFFFF00; DRAWICON(QBAND日线锁定,LOW,1); DRAWICON(QBAND日线锁定,LOW*0.995,7); DRAWICON(QSAND日线锁定,HIGH,2); DRAWICON(QSAND日线锁定,HIGH*1.005,8); DRAWICON(概率==5AND日线锁定,L*0.97,14); DRAWICON(概率==4AND日线锁定,L*0.97,13); DRAWICON(概率==3AND日线锁定,L*0.97,11); MA5:MA(CLOSE,5),COLORWHITE; MA10:MA(CLOSE,10),COLORYELLOW; MA20:MA(CLOSE,20),COLORMAGENTA; MA60:MA(CLOSE,60),COLORGREEN;

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势操作买卖主图指标公式 加入收藏