副图飞狐源码
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
S: IF(VAR6>100,VAR6-100,0),LINETHICK3 ,COLOR00FF00;
IF(REF(S,1)<S,S,REF(S,1)),STICK,LINETHICK3, COLOR9900FF;
IF(REF(S,1)>S,S,REF(S,1)),STICK,LINETHICK3, COLORCCCC66;REF(S,1),STICK,LINETHICK3, COLOR000000;