分析盘面趋势
VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2a:=SMA(VAR1a,9,1)+100;
VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4a:=SMA(VAR3a,3,1);
VAR5a:=SMA(VAR4a,3,1)+100;
VAR6a:=VAR5a-VAR2a;
R:=REF(VAR6A,1);
Y:(VAR6A-R)*2,COLORSTICK;
关键防线:IF(VAR6A>60,VAR6A-60,0),COLORFFFFFF;
S:=关键防线,COLORFF00FF;
S0:=REF(S,1);
买卖:S-S0;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(86,RSI);
STICKLINE(REF(关键防线,1)<关键防线,关键防线,REF(关键防线,1),4,0),COLORFF00FF;
STICKLINE(REF(关键防线,1)>关键防线,关键防线,REF(关键防线,1),4,0),COLOR00FF00;