波段买卖 通达信 副图公式 买卖源码

FFD:=EMA((C - REF(C,1)) / REF(C,3),10) * 100;
KJHU:=EMA(EMA(EMA(EMA(FFD,2),2),2),3);
KJHU1:=EMA(KJHU,4);
A1:=SMA(MAX(C - REF(C,1),0),24,1) / SMA(ABS(C - REF(C,1)),24,1) * 100;
龙头启动:(A1 > 65) * (A1 - 65) / 10 + 2,NODRAW;
VARA1:=CLOSE-LOW;
VARA2:=HIGH-LOW;
VARA3:=CLOSE-HIGH;
VARA4:=IF(HIGH>LOW,(VARA1/VARA2+VARA3/VARA2)*VOL,0);
CYW1:=SUM(VARA4,4)/100000;
控盘度:=CYW1 / 10;{}
STICKLINE(KJHU >= REF(KJHU,1),KJHU,KJHU * 1.2,2,0),COLORRED;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU > EMA(KJHU,4),KJHU,KJHU * 1.2,1,0),COLOR00BBFF;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU < EMA(KJHU,4),KJHU,KJHU * 1.2,2,0),COLORGREEN;
{DRAWICON(BARSCOUNT(KJHU >= REF(KJHU,1))=1,L*0.93,7);
DRAWICON(KJHU < REF(KJHU,1) AND KJHU > EMA(KJHU,4),H*1.03,8);}
0,POINTDOT,LINETHICK2,COLORGRAY;
1.5,POINTDOT,COLORGRAY;
DRAWICON(CROSS(FFD,2),2,7);
CROSS(FFD,KJHU1);
A2:=(C - REF(C,1)) / REF(C,1) * 100;
A3:=COUNT(A2 > 8,120);

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0,0,A3),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'【关注级别大的股票】 '),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.16,0,0,'级: '),COLORYELLOW;

{DRAWTEXTABS(150,10,STR(A3)),COLORYELLOW;
DRAWTEXTABS(3,10,'【关注级别大的股票】 '),COLORYELLOW;
DRAWTEXTABS(180,10,'级: '),COLORYELLOW;}
NA:=14;MAA:=6;
TR1 := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),NA,1);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),NA,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),NA,1);
PDI:=DMP*100/TR1;
{}
MDI:=DMM*100/TR1;
ADX:=SMA(ABS(MDI-PDI)/(MDI+PDI)*100,NA,1);
ADXR:=(ADX+REF(ADX,MAA))/2;
IF(PDI > MDI,2,DRAWNULL),COLOR00C800,LINETHICK4;
IF(MDI>PDI,2,DRAWNULL),COLOR64FF00,LINETHICK4;
IF(PDI > MDI AND ADX > ADXR AND MDI < 20,2,DRAWNULL),COLOR7850FF,LINETHICK4;
A4:=(MA(C,3) + MA(C,6) + MA(C,12) + MA(C,24)) / 4;
A5:=A4 + 3 * STD(A4,10);
A6:=EMA(HHV(C,21),21);
STICKLINE(FILTER(CROSS(EMA(C,3),A6) AND C > A5 AND MA(C,5) > MA(C,10),13),1.5,0,1,0),COLORMAGENTA;
DRAWTEXT(FILTER(CROSS(EMA(C,3),A6) AND C > A5 AND MA(C,5) > MA(C,10),13),0.2,'小黑马↗'),LINETHICK1,COLORYELLOW;
DRAWTEXT(FILTER(BARSLASTCOUNT(龙头启动>2)=1 AND FFD > 1.9,5),2.4,'龙'),COLORYELLOW;
DRAWTEXT(FILTER(BARSLASTCOUNT(龙头启动>2)=1 AND FFD > 1.9,5),2.3,'头'),COLORYELLOW;
DRAWTEXT(FILTER(BARSLASTCOUNT(龙头启动>2)=1 AND FFD > 1.9,5),2.2,'股'),COLORYELLOW;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图