波段趋势副图

qianglongwang
69918
文章
3
评论
2019年7月12日08:19:22 评论 456 1609字阅读5分2秒

指标代码及说明:

VAR2:=CLOSE*VOL;

MID:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,N);

主趋势线1:MID;MID2:=MID*1.01;

SDN:=MID*0.94;

SDN3:=REF(CLOSE,1800),COLORYELLOW;

SUP:=1.06*MID,COLORBLUE;

VAR4:=EMA(CLOSE,9);

B9:=COUNT(HIGH>SUP,5);

VAR1:=MID;

PARTLINE(VAR1>REF(VAR1,1),VAR1),LINETHICK2,COLORRED;

PARTLINE(VAR1<REF(VAR1,1),VAR1),LINETHICK2,COLORCYAN;

PP:=(2*CLOSE+HIGH+LOW)/4;

QQ:=ABS(PP-MA(CLOSE,N*15));

AA:=QQ/MA(CLOSE,N*15);

N2:=(N-2)*15;

N3:=(N+2)*15;

N4:=(N+3)*15;

主趋势线:=(MA(CLOSE,13)),LINETHICK2,COLORRED;

CC:=(CLOSE/主趋势线);

MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);

MAAA:=((MA1-主趋势线)/主趋势线)/3;

TMP:=MA1-MAAA*MA1;

短期趋势线:TMP,LINETHICK2,COLORYELLOW;

PARTLINE(TMP<=MID,MID),LINETHICK2,COLORCYAN;

PARTLINE(TMP<=REF(TMP,1),TMP),LINETHICK2,COLORWHITE;

PARTLINE(TMP<=MID,TMP),LINETHICK2,COLORGREEN;

PARTLINE(TMP>=REF(TMP,1) AND TMP<MID,TMP),LINETHICK2,COLOR000080;

MA3:=MA(CLOSE,3);

MA7:=MA(CLOSE,7);

MA14:=MA(CLOSE,14);

RED:=CROSS(C,MA14);

GREEN:=CROSS(MA14,C);

FLAG:=IF(BARSTATUS=1,0,IF(RED,1,IF(GREEN,-1,REF(FLAG,1))));

STICKLINE(FLAG>0,HIGH,MAX(C,O),0,1),COLORRED;

STICKLINE(FLAG>0,LOW,MIN(C,O),0,1),COLORRED;

STICKLINE(FLAG>0,C,O,4,1),COLORRED;

STICKLINE(FLAG<0,HIGH,MAX(C,O),0,0),COLORGREEN;

STICKLINE(FLAG<0,LOW,MIN(C,O),0,0),COLORGREEN;

STICKLINE(FLAG<0,C,O,4,0),COLORGREEN;

STICKLINE(FLAG=0,HIGH,MAX(C,O),0,0),COLORYELLOW;

STICKLINE(FLAG=0,LOW,MIN(C,O),0,0),COLORYELLOW;

STICKLINE(FLAG=0,C,O,4,0),COLORYELLOW;

DRAWICON(FLAG>0 AND CROSS(MA3,MA7),LOW,4),VALIGN0;

DRAWICON(FLAG<0 AND CROSS(MA7,MA3),HIGH,5),VALIGN2;

代写炒股公式或微信:chaogugongshi 进行 有偿 编写!
  • 炒股公式网声明:文中提供的信息仅代表作者个人观点。不保证该信息(包括但不限于文字、数据及图表)全部或者部分内容的准确性、真实性、完整性、有效性、及时性、原创性等,若有侵权,请第一时间告知删除。仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。版权投诉邮箱:vfffq761@foxmail.com
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: