{www.gszb.com2线背离}
A1:=TJZB1<REF(TJZB1,1) AND TJZB2>REF(TJZB2,1) AND TJZB3<REF(TJZB3,1) AND TJZB4<REF(TJZB4,1);
A2:=TJZB1>REF(TJZB1,1) AND TJZB2<REF(TJZB2,1) AND TJZB3>REF(TJZB3,1) AND TJZB4>REF(TJZB4,1);
背离2:IF(A1 OR A2,0,-10),COLOR008000;
{www.gszb.com3线背离}
A3:=TJZB3>REF(TJZB3,1) AND TJZB1<REF(TJZB1,1) AND TJZB2<REF(TJZB2,1) AND TJZB4<REF(TJZB4,1);
A4:=TJZB3<REF(TJZB3,1) AND TJZB1>REF(TJZB1,1) AND TJZB2>REF(TJZB2,1) AND TJZB4>REF(TJZB4,1);
背离3:IF(A3 OR A4,0,-10),COLORFF8000;
{www.gszb.com4线背离}
A5:=TJZB4>REF(TJZB4,1) AND TJZB1<REF(TJZB1,1) AND TJZB3<REF(TJZB3,1) AND TJZB2<REF(TJZB2,1);
A6:=TJZB4<REF(TJZB4,1) AND TJZB1>REF(TJZB1,1) AND TJZB3>REF(TJZB3,1) AND TJZB2>REF(TJZB2,1);
背离4:IF(A5 OR A6,0,-10),COLOR00FFFF;
{www.gszb.com画线}
强势线:50,COLORCYAN;
{www.gszb.com底部反弹投机}
底部投机:IF(TJZB1<20 AND TJZB4<20,-10,5),COLOR0000FF;
{www.gszb.com深红色强势投机线}
强势投机4:IF(TJZB3>=45 AND TJZB4>=45,TJZB4,DRAWNULL),COLORRED,LINETHICK2;
通信底部反弹投机副图指标公式源码
底部反弹投机副图指标 源码 通信 贴图
{www.gszb.com投机至尊-投机指标}
TJZB1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF,LINETHICK2;
TJZB2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLOR008000,LINETHICK2;
TJZB3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000,LINETHICK2;
TJZB4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF,LINETHICK2;
{www.gszb.com2线背离}
A1:=TJZB1<REF(TJZB1,1) AND TJZB2>REF(TJZB2,1) AND TJZB3<REF(TJZB3,1) AND TJZB4<REF(TJZB4,1);
A2:=TJZB1>REF(TJZB1,1) AND TJZB2<REF(TJZB2,1) AND TJZB3>REF(TJZB3,1) AND TJZB4>REF(TJZB4,1);
背离2:IF(A1 OR A2,0,-10),COLOR008000;
{www.gszb.com3线背离}
A3:=TJZB3>REF(TJZB3,1) AND TJZB1<REF(TJZB1,1) AND TJZB2<REF(TJZB2,1) AND TJZB4<REF(TJZB4,1);
A4:=TJZB3<REF(TJZB3,1) AND TJZB1>REF(TJZB1,1) AND TJZB2>REF(TJZB2,1) AND TJZB4>REF(TJZB4,1);
背离3:IF(A3 OR A4,0,-10),COLORFF8000;
{www.gszb.com4线背离}
A5:=TJZB4>REF(TJZB4,1) AND TJZB1<REF(TJZB1,1) AND TJZB3<REF(TJZB3,1) AND TJZB2<REF(TJZB2,1);
A6:=TJZB4<REF(TJZB4,1) AND TJZB1>REF(TJZB1,1) AND TJZB3>REF(TJZB3,1) AND TJZB2>REF(TJZB2,1);
背离4:IF(A5 OR A6,0,-10),COLOR00FFFF;
{www.gszb.com画线}
强势线:50,COLORCYAN;
{www.gszb.com底部反弹投机}
底部投机:IF(TJZB1<20 AND TJZB4<20,-10,5),COLOR0000FF;
{www.gszb.com深红色强势投机线}
强势投机4:IF(TJZB3>=45 AND TJZB4>=45,TJZB4,DRAWNULL),COLORRED,LINETHICK2;