通达信寻行指标公式
2020/5/15 18:32:35
想博短线的上涨惯性,就选上涨斜率大的,想做超跌反弹就选下跌斜率大的,想摸规律就反复观测历史斜率变化,一般情况是这样。
均价P:=(2*C+(C+H+L+O)/4+O)/4;
PPR:=(3*L+2*均价P)/5;PR1:=(3*H+2*均价P)/5;
PKX:=(PPR+PR1)/2;
PHL:=SQRT(PR1-PPR)+(PR1=PPR);
JFC:=IF(CAPITAL>0,PHL,SQRT(PKX));
PSF:=JFC;PZL:=1/JFC;
PM5:=EMA(MA(PPR*PZL,3)/MA(PZL,3),2);
PPA:=EMA(SUM(PKX*V,3)/SUM(V,3),13);
CCC:=ABS(PKX-EMA(PPA,13))/EMA(PPA,13);
PAJ:=DMA(PKX,CCC);
PPB:=(EMA(COST(75),13)+PPA)/2;
PCC:=ABS(PPA-MA(PPB,13))/MA(PPB,13);
XSC:=DMA(PPA,PCC);
SMX:=(1*PAJ+2*XSC)/3;
布林上:=SMX+3*STD(SMX,26);
布林下:=SMX-3*STD(SMX,26);
主线1:=(PM5-SMX)*2;
主线2:=PM5-布林上;
确认线:=SMX-布林上;
冲顶1:IF(主线1>0,确认线,主线1),COLORRED,DOTLINE;
冲顶2:IF(主线2>0,-主线2,主线2),COLOR000000,DOTLINE;
{www.tou18.cn 投股票网_通达信股票指标公式}
转提前线:=(PM5-布林下)-(SMX-布林上);
变提前线:=PM5-布林下;
DRAWBAND(IF(主线1>0,主线1,IF(转提前线<0 OR 变提前线<0,MIN(转提前线,变提前线),0)),RGB(100,8,32),
IF(主线1>0,确认线,IF(转提前线<0 OR 变提前线<0,-MIN(转提前线,变提前线),0)),RGB(70,130,80));
DRAWBAND(IF(主线1>0,主线1,IF(转提前线<0 OR 变提前线<0,MIN(转提前线,变提前线),0))*0.8,RGB(130,9,42),
IF(主线1>0,确认线,IF(转提前线<0 OR 变提前线<0,-MIN(转提前线,变提前线),0))*0.8,RGB(60,120,70));
DRAWBAND(IF(主线1>0,主线1,IF(转提前线<0 OR 变提前线<0,MIN(转提前线,变提前线),0))*0.6,RGB(160,10,52),
IF(主线1>0,确认线,IF(转提前线<0 OR 变提前线<0,-MIN(转提前线,变提前线),0))*0.6,RGB(50,110,60));
DRAWBAND(IF(主线1>0,主线1,IF(转提前线<0 OR 变提前线<0,MIN(转提前线,变提前线),0))*0.4,RGB(190,11,62),
IF(主线1>0,确认线,IF(转提前线<0 OR 变提前线<0,-MIN(转提前线,变提前线),0))*0.4,RGB(30,95,40));
DRAWBAND(IF(主线1>0,主线1,IF(转提前线<0 OR 变提前线<0,MIN(转提前线,变提前线),0))*0.2,RGB(160,10,52),
IF(主线1>0,确认线,IF(转提前线<0 OR 变提前线<0,-MIN(转提前线,变提前线),0))*0.2,RGB(20,85,30));
DRAWBAND(IF(主线2>0,主线2,0),RGB(0,0,0),IF(主线2>0,-主线2,0),RGB(0,0,0));
DRAWBAND(主线1,RGB(168,168,168),主线1,RGB(168,168,168)),DOTLINE,COLOR787878,LINETHICK2;
DRAWBAND(确认线,RGB(0,77,0),确认线,RGB(0,77,0)),DOTLINE,COLOR005500,LINETHICK2;
升势周期:IF(主线1>=确认线,确认线,DRAWNULL),COLORMAGENTA,LINETHICK3;
底部质变:IF(确认线>=转提前线 OR 确认线>=变提前线,确认线,DRAWNULL),COLORWHITE,LINETHICK5;
涨升:IF(主线1>REF(主线1,1),主线1,DRAWNULL),COLORYELLOW,LINETHICK3;
转势提前:转提前线/2,COLORCYAN,LINETHICK3;
DRAWBAND(IF(转提前线<=REF(转提前线,1),转势提前,DRAWNULL),RGB(168,168,168),转势提前,RGB(168,168,168)),DOTLINE,COLOR665566,LINETHICK3;
变势提前:变提前线/2,COLORBLUE,LINETHICK2;
DRAWBAND(IF(变提前线>=REF(变提前线,1),变势提前,DRAWNULL),RGB(168,168,168),变势提前,RGB(168,168,168)),DOTLINE,COLOR665566,LINETHICK2;
势线:主线2,COLORGREEN,LINETHICK2;
投股票 网 ww w.tou18.cn
股市公式下载推荐