将(日本大地震)指标做一个预警公式_股票指标公式

渔网指标改成同花顺的

渔网指标改成同花顺的

【股票资源馆】策略投资破解,图片免费下载,理想股票技术论坛,财经股票论坛,炒股论坛社区,股票软件,股票公式,源码交流,指标公式,炒股书籍,分析家公式网,股旁网,股票配资。

编写条件:

编写方法:

 网友求助:

帮我在出现"海嘯来了、核辐谢出现时各做一个预警公式。公式和示意图如下:

MA1:=MA(C,5);MA2:=MA(C,13);MA3:=MA(C,21);MA4:=MA(C,40);MA5:=MA(C,55);

M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL;M5:=MA(P,M1);

M13:=MA(P,M2);M21:=MA(P,M3);M55:=MA(P,M4);

放牛郎系统公式:=IF(MA(P,M1)>MA(P,M4)*0.95,22,0)COLORFF33CC,LINETHICK3;

VOLUME:=VOL;

日本大地震:=VOL/REF(MA(VOL,5),1)COLORGREEN;

LONG:=22;SHORT:=10;M:=7;

DIFF:=EMA(CLOSE,10)-EMA(CLOSE,22);

DEA:=EMA(DIFF,7);

MACD:=2*(DIFF-DEA);

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

宫城县:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)

AND CROSS(DIFF,DEA),LINETHICK3;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

福岛:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF

AND CROSS(DEA,DIFF);

B1:=BARSLAST(REF(CROSS(MA2,MA3),1));

第一核电站:=IF(MA3<REF(MA3,B1+1) AND MA2<REF(MA2,B1+1)

AND CROSS(MA2,MA3),20,1)COLORGREEN,LINETHICK3;

核爆炸:=IF((CROSS(MA2,MA3*0.993) OR CROSS(MA2,MA3))

AND (MA1<MA5 OR REF(MA1,1)<MA5 OR REF(MA1,1)<MA5)

AND MA2<MA5 AND MA3<MA5,888,0)COLORGREEN,LINETHICK5;

海啸来了:IF(核爆炸 AND REF(EXIST(核爆炸=888,40),8)

AND C>MA3 AND MA2<MA5 AND MA3<MA5 AND (第一核电站=20 OR REF(第一核电站=20,1))

AND MA1>REF(MA1,1) AND REF(MA1,1)>REF(MA1,2) AND MA2>REF(MA2,1)

AND LAST(C<MA5*1.005,30,5) AND LAST(MA2<MA5,20,1) AND LAST(MA3<MA5,20,1)

,311,0)COLORRED,LINETHICK5;

B2:=BARSLAST(REF(CROSS(MA2,MA3),1));

第二核电站:=IF(MA3>REF(MA3,B1+1) AND MA2>REF(MA2,B1+1)

AND CROSS(MA2,MA3*0.998),1500,1)COLORYELLOW,LINETHICK3;

核泄漏:=IF((CROSS(MA2,MA3*0.998) OR CROSS(MA2,MA3) OR CROSS(MA2,MA3*1.003))

AND C>MA2 AND MA1>MA5 AND MA2>MA5 AND MA3>MA5

AND MA2>REF(MA2,1) AND MA3>REF(MA3,1)

AND MA5>REF(MA5,1),888,0)COLORWHITE,LINETHICK5;

CL:=(日本大地震>5 OR REF(日本大地震>5,1)) AND C>REF(C,HHVBARS(C,60));

核辐射:IF(核泄漏 AND REF(EXIST(核泄漏=888,40),6)

AND (LAST(福岛=0,10,1) OR C>REF(C,HHVBARS(C,120)) OR CL)

AND (第二核电站=1500 OR REF(第二核电站=1500,1))

AND LAST(MA2>MA5*0.998,30,1) AND LAST(MA3>MA5*0.998,30,1)

AND C>MA2 AND MA1>MA5 AND MA2>MA5 AND MA3>MA5

AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA5>REF(MA5,1)

AND HHV(MA3,20)/LLV(MA3,20)<1.13

,444,0)COLORYELLOW,LINETHICK5;
 
解答如下:
MA1:=MA(C,5);MA2:=MA(C,13);MA3:=MA(C,21);MA4:=MA(C,40);MA5:=MA(C,55);

M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL;M5:=MA(P,M1);

M13:=MA(P,M2);M21:=MA(P,M3);M55:=MA(P,M4);

放牛郎系统公式:=IF(MA(P,M1)>MA(P,M4)*0.95,22,0);

VOLUME:=VOL;

日本大地震:=VOL/REF(MA(VOL,5),1);

LONG:=22;SHORT:=10;M:=7;

DIFF:=EMA(CLOSE,10)-EMA(CLOSE,22);

DEA:=EMA(DIFF,7);

MACD:=2*(DIFF-DEA);

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

宫城县:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)

AND CROSS(DIFF,DEA),LINETHICK3;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

福岛:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF

AND CROSS(DEA,DIFF);

B1:=BARSLAST(REF(CROSS(MA2,MA3),1));

第一核电站:=IF(MA3<REF(MA3,B1+1) AND MA2<REF(MA2,B1+1)

AND CROSS(MA2,MA3),20,1);

核爆炸:=IF((CROSS(MA2,MA3*0.993) OR CROSS(MA2,MA3))

AND (MA1<MA5 OR REF(MA1,1)<MA5 OR REF(MA1,1)<MA5)

AND MA2<MA5 AND MA3<MA5,888,0);

海啸来了:IF(核爆炸 AND REF(EXIST(核爆炸=888,40),8)

AND C>MA3 AND MA2<MA5 AND MA3<MA5 AND (第一核电站=20 OR REF(第一核电站=20,1))

AND MA1>REF(MA1,1) AND REF(MA1,1)>REF(MA1,2) AND MA2>REF(MA2,1)

AND LAST(C<MA5*1.005,30,5) AND LAST(MA2<MA5,20,1) AND LAST(MA3<MA5,20,1)

,311,0);

 

 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}股票公式网

DMI底背请老师改为同花顺主图可用并能注明

DMI底背请老师改为同花顺主图可用并能注明

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu