贺岁之作,【牛气冲天操盘】主图指标#通达...
贺岁之作,【牛气冲天操盘】主图指标#通达信#
正月初一头一天,家家户户过新年。
指标先生给大家拜年了
祝福大家身体健康,财源滚滚
指标先生奉献贺岁首作
本想设个获取门槛
想想大家年还是不扫兴了
还是一如既往免费给大家使用
此公式从买底-加仓-做差-看支撑压力-一条龙。
让大家一睹为快吧!(看下图)
源码:
A:=(3*C+H+L+O)/6;
VAR1:=WMA(A,8);N:=WEEKDAY;
VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
红线:VAR1,COLORRED;
黄线:VAR2,COLORYELLOW;
持股:IFF(VAR1>VAR2,VAR2,DRAWNULL),COLORRED;
持币:IFF(VAR1=VAR2,VAR2,DRAWNULL),COLORGREEN;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORWHITE;
DEA:=EMA(DIFF,9),COLORF00FF0 ;
MACD:=0.90*(DIFF-DEA), COLORSTICK;
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.0.2,0),COLORYELLOW;
STICKLINE(TJ,O,C,2.5,0),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0.0.2,0),COLORRED;
STICKLINE(TJ1 AND TJ,O,C,2.5,1),COLORRED;
STICKLINE(DIFF<DEA,H,L,0.0.2,0),COLORCYAN;
STICKLINE(DIFF<DEA,O,C,2.5,0),COLORCYAN;
AA:=REF(H,N)=HHV(H,2*N+1);
AA1:=REF(L,N)=LLV(L,2*N+1);
QY:=BACKSET(AA,N+1);
QY1:=BACKSET(AA1,N+1);
CC:=FILTER(QY,N) AND H=HHV(H,N+1);
CC1:=FILTER(QY1,N) AND L=LLV(L,N+1);
DDD:=BARSLAST(CC);
DD1:=BARSLAST(CC1);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
GDCS1:=CONST(DINGBUTS);
DDCS1:=CONST(DDTS1);
GDCS13:=CONST(REF(HIGH,GDCS1-1));
DDCS13:=CONST(REF(L,DDCS1-1));
DINGBUTS1:=REF(DINGBUTS,DDD+1);
DDTS2:=REF(DDTS1,DD1+1);
GDCS2:=CONST(DINGBUTS1);
DDCS2:=CONST(DDTS2);
GDCS23:=CONST(REF(HIGH,DINGBUTS1-1));
DDCS23:=CONST(REF(L,DDTS2-1));
XG1:=BACKSET(ISLASTBAR,GDCS1);
XD1:=BACKSET(ISLASTBAR,DDCS1);
XG2:=BACKSET(ISLASTBAR,DINGBUTS1);
XD2:=BACKSET(ISLASTBAR,DDTS2);
源码过长,无法全部贴上,贴上一小部分,剩下的可以看图!