飞狐春种秋收副图指标
源码
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,34);
ERT:MA(CLOSE,3);
YAXG:MA(CLOSE,55);
防线B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);
B1:=EMA(防线B,5);
上涨:STICKLINE(防线B-B1>0,防线B,B1,8,1),colorFF00FF;
下跌:STICKLINE(防线B-B1<0,防线B,B1,8,1),colorFFFF00;
顶部区:STICKLINE(防线B>70 AND 防线B-B1>=0,77,85,6,0),colorFF00;
预示跌:STICKLINE(防线B>65 AND 防线B<80 AND 防线B-B1<0,75,85,6,0),color99FF;
开始跌:STICKLINE(防线B>26 AND 防线B<65 AND 防线B-B1<0,75,85,6,0),colorFFFFFF;
底:STICKLINE(防线B>5 AND 防线B<35 AND 防线B-B1<0,18,20,6,0),colorFF;
VARX1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VARX2:=SMA(VARX1,9,1)+100;
VARX3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARX4:=SMA(VARX3,3,1);
VARX5:=SMA(VARX4,3,1)+100;
VARX6:=VARX5-VARX2;
逃顶:IF(VARX6>100,VARX6-100,0),colorFFFF;
VARB1:=ZIG(3,13);
买入:STICKLINE(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),0,45,8,0),colorFF00FF;
卖出:STICKLINE(REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),99,55,8,0),colorFF00;
EXPLAIN(逃顶>=0,'************专家忠告************');
EXPLAIN(逃顶>=0,'
EXPLAIN(防线B-B1<0,'
EXPLAIN(防线B-B1>0,'
EXPLAIN(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),'
EXPLAIN(REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),'
EXPLAIN(逃顶>=0,'************指标解说************');
EXPLAIN(ERT>YAXG,'
EXPLAIN(ERT<YAXG,'
EXPLAIN(REF(VARB1,2)>REF(VARB1,1) AND VARB1>REF(VARB1,1),'
EXPLAIN(REF(VARB1,2)<REF(VARB1,1) AND VARB1<REF(VARB1,1),'
EXPLAIN(防线B-B1>0,'
EXPLAIN(防线B-B1<0,'
EXPLAIN(防线B>70 AND 防线B-B1>=0,'
EXPLAIN(防线B>65 AND 防线B<80 AND 防线B-B1<0,'
EXPLAIN(防线B>26 AND 防线B<65 AND 防线B-B1<0,'上面这白色短线条表示股价下跌中,大部分比较准,有些它出来大迟了些,'),colorFFFFFF;
EXPLAIN(防线B>5 AND 防线B<35 AND 防线B-B1<0,'下面红色的小横线叫“底”。'),colorFF;
EXPLAIN(逃顶>0,'