大牛起爆点副图指标公式(电脑 手机版)【通达信】
电脑版效果展示:
手机版效果展示:
指标源码:
N:=26;
A:80;
B:20;
AB:=AMOUNT/V/100;
LC1:=REF(CLOSE,1);
VARA:=EMA((((AB-EMA(AB,13))/EMA(AB,13))*(0-100)),5);
JT1:=EVERY(REF(C,1)<ref(ma(c,120),1),30);< span=''></ref(ma(c,120),1),30);<>
JT2:=EVERY(REF(MA(C,120),1)>REF(MA(C,60),1),30);
JT3:=REF(C,1)MA(C,120) AND O/REF(C,1)<1.09 AND V=HHV(V,20);
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
RSI5:=((SMA(MAX((CLOSE-LC1),0),5,1)/SMA(ABS((CLOSE-LC1)),5,0))*100);
操盘线:=EMA(((VARA/10)+EMA(AB,10)),3);
行情线:=EMA(AB,3);
QTR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,
1)))),ABS((LOW-REF(CLOSE,1)))),10);
天:100+(-ABS(VAR1)),COLORRED;
下:SMA(VAR3,2,1);
无:ABS(VAR1),COLORGREEN;
敌:50,COLORFFAA00,LINETHICK3;
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
XG1:=COUNT(JT1 AND JT2,20) AND JT3;
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(下,无),30,' '),COLORFFFFCC;
MT1:=EVERY(REF(C,1)<ref(ma(c,60),1),30);< span=''></ref(ma(c,60),1),30);<>
PDI:=((DMP*100)/TR);
MDI:=((DMM*100)/TR);
趋势线:=EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORGREEN,LINETHICK1;
STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;
ADX:=MA(((ABS((MDI-PDI))/(MDI + PDI))*100),5);
AV:=(RSI5+ADX);
MT2:=EVERY(REF(MA(C,60),1)>REF(MA(C,30),1),30);
DRAWTEXT(CROSS(下,天),70,' '),COLORFFFFCC;
选股2:IF(CROSS(下,20),1,0);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);