编写要求:
地线:MA(REF(LLV(C,30),1),2),COLORRED,LINETHICK3;
天线:MA(REF(HHV(C,30),1),2),COLORGREEN,,LINETHICK3;
N5:=7;
LC:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC,0),N5,1)/SMA(ABS(CLOSE-LC),N5,1)*100,COLORYELLOW,LINETHICK1;
卖出:=DRAWLINE(X>=HHV(X,N5),X,X<=LLV(X,N5),X,1),COLOR00FF00;
买入:=DRAWLINE(X>=HHV(X,N5),X,X<=LLV(X,N5),1,X),COLOR00FF00;
TJ0:=X=买入;
TJ1:=X=卖出;
TJ2:=XREF(1,X);
JRS1:=DRAWICON(TJ1 AND TJ2,X,1);
JRS2:=DRAWICON(TJ0 AND TJ3,X,2);
DRAWICON(FILTER(JRS1>0,1),L*0.97,1);
DRAWICON(FILTER(JRS2>0,1),H*1.02,15);
动态止损度:=5;
黑:=0;{下跌通道黑色K线开关}
离L:=0;{乖离提示开关}
提示:=0;{买卖文字提示开关}
布林M:=0;{开关}
MMA:=0;
五:MA(CLOSE,5),COLORWHITE;
十:MA(CLOSE,10),COLOR00FFFF;
M18:=MA(CLOSE,18),COLORRED;
M55:=MA(CLOSE,55),COLOR333333;
离基:=五;
离O:=离基*1.20,COLOR555555;
离A:离基*1.15,COLORRED;
离B:离基*1.10,COLORD9D919;
离C:离基*0.90, COLORFF240E LINETHICK2;
离D:离基*0.865,COLOR333333;
EXP50:=EXPMA(CLOSE,50),COLORGREEN;
MA25:=MA(CLOSE,25),COLORMAGENTA,LINETHICK2;
M25:IF(MA25>=REF(MA25,1),MA25,DRAWNULL),COLORMAGENTA,LINETHICK3;
M025:IF(MA25REF(C,1),CONST(C)),COLOR0000AA,LINETHICK1;
跌:PLOYLINE(C=1.09;
BA:=CLOSE/REF(C,1)>=1.09;
DRAWKLINE(H,O,L,C);
STICKLINE(AA,O,C,2.5,1),COLORYELLOW;
MA1:=MA(CLOSE,5),COLORRED;
MA2:=MA(CLOSE,10),COLORYELLOW;
MA3:=MA(CLOSE,20),COLOR770077;
E50:=EXPMA(CLOSE,50),LINETHICK1,POINTDOT,COLORLIGREEN;
E100:=EXPMA(CLOSE,100),POINTDOT,COLORGRAY;
{MA60:=MA(C,60),COLOR007700;}
{周:IF( MMA=1 ,MA2,DRAWNULL),COLORYELLOW,LINETHICK1;
月:IF( MMA=1 ,MA3,DRAWNULL),COLORWHITE,LINETHICK1;
季:IF( MMA=1 ,MA4,DRAWNULL),COLORGREEN,LINETHICK1;}
{IF(C>E50 ,E50,DRAWNULL),COLOR00FF00,LINETHICK1;}
IF(CONST(α>β) AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL),COLOR000088,LINETHICK1;
IF(CONST(α<=β)AND DYNAINFO(7)>0 ,DYNAINFO(7),DRAWNULL),COLOR008800,LINETHICK1;
IF(CONST(α>β) AND DYNAINFO(7)>0 AND DYNAINFO(7)>=高*0.99,DYNAINFO(7),DRAWNULL),COLOR000088,LINETHICK1;
IF(CONST(α<=β)AND DYNAINFO(7)>0 AND DYNAINFO(7)<=低*1.01 ,DYNAINFO(7),DRAWNULL),COLOR008800,LINETHICK1;
N1:=12;
N2:=26;
N3:=9;
DIFF:=(EMA(CLOSE,N1) - EMA(CLOSE,N2));
DEA:=EMA(DIFF,N3);
MACD:=(2 * (DIFF - DEA));
MACD2:=MACD;
SARH:=CLOSE>SAR(4,2,20);
{IF(C 解答: ?CROSS(MA(CLOSE,5)*0.90,L); ?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!