显示仪表盘1:=1;
范围高A:=REFDATE(HHV(H,120),DATE)*1.05;
范围低A:=REFDATE(LLV(L,120),DATE)*0.95;
我:MA(C,5),NODRAW,COLORBLACK;
你:MA(C,24),NODRAW,COLORBLACK;
鱼:MA(C,72),NODRAW,COLORBLACK;
猫:IF((MA(C,200)<=范围高A AND MA(C,200)>=范围低A) OR C>=MA(C,200),MA(C,200),DRAWNULL),NODRAW,COLORBLACK;
{=======================仪表盘=========================}
主升浪:=ISLASTBAR AND 我>你 AND 你>鱼 AND 鱼>IF(猫=DRAWNULL,0,猫);
主浪回调:=ISLASTBAR AND 你>我 AND 我>鱼 AND 鱼>IF(猫=DRAWNULL,0,猫);
主浪深调:=ISLASTBAR AND 你>鱼 AND 鱼>我 AND 我>IF(猫=DRAWNULL,0,猫);
初升浪:=ISLASTBAR AND IF(猫=DRAWNULL,300,猫)>MAX(你,鱼) AND 我>你 AND 你>鱼;
底部反弹:=ISLASTBAR AND IF(猫=DRAWNULL,300,猫)>鱼 AND 鱼>你 AND 我>你;
探底阶段:=ISLASTBAR AND IF(猫=DRAWNULL,300,猫)>鱼 AND 鱼>你 AND 你>我;
观望:=ISLASTBAR AND IF(猫=DRAWNULL,你>鱼 AND C<鱼,鱼>猫 AND C<猫);
有牛:=ISLASTBAR AND IF(猫=DRAWNULL,你<鱼 AND C>=鱼,鱼<猫 AND C>=猫);
放弃:=ISLASTBAR AND IF(猫=DRAWNULL,你<鱼 AND C<鱼,鱼<猫 AND C<猫);
DRAWGBK(显示仪表盘1=1 AND 主升浪=0 AND 主浪回调=0 AND 主浪深调=0 AND 初升浪=0 AND 底部反弹=0 AND 探底阶段=0 AND 观望=0 AND 有牛=0 AND 放弃=0,0,0,0,'观望',0);
DRAWGBK(显示仪表盘1=1 AND 主升浪,0,0,0,'主升浪',0);
DRAWGBK(显示仪表盘1=1 AND 主浪回调,0,0,0,'主浪回调',0);
DRAWGBK(显示仪表盘1=1 AND 主浪深调,0,0,0,'主浪深调',0);
DRAWGBK(显示仪表盘1=1 AND 初升浪,0,0,0,'初升浪',0);
DRAWGBK(显示仪表盘1=1 AND 底部反弹,0,0,0,'底部反弹',0);
DRAWGBK(显示仪表盘1=1 AND 探底阶段,0,0,0,'探底阶段',0);
DRAWGBK(显示仪表盘1=1 AND 观望,0,0,0,'观望',0);
DRAWGBK(显示仪表盘1=1 AND 有牛,0,0,0,'有牛',0);
DRAWGBK(显示仪表盘1=1 AND 放弃,0,0,0,'放弃',0);
{=======================均线解盘===============================}
DRAWRECTREL(0,IF(显示仪表盘1=0,135,0),IF(显示仪表盘1=0,288,0),IF(显示仪表盘1=0,630,0),RGB(0,0,255));
DRAWTEXT_FIX(显示仪表盘1=0,0.08,0.16,0,'【 均线解盘 】'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.23,0,'主升浪: 5>24>72>200 '),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 我>你 AND 你>鱼 AND 鱼>猫,0.238,0.23,0,'≡★≡'),COLORRED;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.285,0,'主浪回调: 24>5>72>200 '),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 你>我 AND 我>鱼 AND 鱼>猫,0.238,0.285,0,'≡★≡'),COLORRED;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.34,0,'主浪深调: 24>72>5>200 '),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 你>鱼 AND 鱼>我 AND 我>猫,0.238,0.34,0,'≡★≡'),COLORMAGENTA;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.395,0,'初升浪: 200>5>24>72'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 猫>MAX(你,鱼) AND 我>你 AND 你>鱼,0.238,0.395,0,'≡★≡'),COLOR0080FF;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.45,0,'底部反弹: 200>72>5>24'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 猫>鱼 AND 鱼>你 AND 我>你,0.238,0.45,0,'≡★≡'),COLORYELLOW;
DRAWTEXT_FIX(显示仪表盘1=0,0,0.51,0,'探底阶段: 200>72>24>5'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 猫>鱼 AND 鱼>你 AND 你>我,0.238,0.51,0,'≡★≡'),COLORGREEN;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼>猫 AND C>=猫,0,0.565,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORRED;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼>猫 AND C>=猫,0,0.565,0,'牛市行情: 72>200 C>200 牛市 ---'),COLORYELLOW;{股票指标网 WWW. 整理}
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼>猫 AND C<猫,0,0.565,0,'未知行情: 72>200 C<200 观望 ---'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼<猫 AND C>=猫,0,0.565,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORMAGENTA;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼<猫 AND C>=猫,0,0.565,0,'初入牛市: 72<200 C>200 牛到 ---'),COLORWHITE;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼<猫 AND C<猫,0,0.565,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORGREEN;
DRAWTEXT_FIX(显示仪表盘1=0 AND ISLASTBAR AND 鱼<猫 AND C<猫,0,0.565,0,'熊市行情: 72<200 C<200 放弃 ---'),COLORBLACK;