适用文华财经电脑端幅图区域,红柱代表上涨,绿色代表下跌,趋势线上下看红绿柱变化做短线波段行情。抄底信号部分有未来函数,参考即可,灵活使用!
部分源码:
VAR110:=IF((VAR59>100),(VAR59-100),0);
VAR111:=HHV(HIGH,34);
VAR112:=EMA((((VAR56-VAR58)/(VAR111-VAR58))*100),6);
VAR113:=EMA(((0.667*REF(VAR112,1))+(0.333*VAR112)),2);
MADK:EMA(VAR113,5);
STICKLINE(((VAR112-VAR113)>0),VAR112,VAR113,4,0),RGB(255,0,0);
STICKLINE(((VAR112-VAR113)<0),VAR112,VAR113,4,0),RGB(0,240,0);
AVAR1:=(HHV(HIGH,13)-LLV(LOW,13));
多空:VAR113;
DRAWCOLORLINE((VAR112-VAR113)>0,多空,COLORRED,RGB(0,240,0));
AVAR2:=(HHV(HIGH,13)-CLOSE);
AVAR3:=(CLOSE-LLV(LOW,13));
AVAR4:=(((AVAR2/AVAR1)*100)-70);
AVAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);
AVAR6:=((((2*CLOSE)+HIGH)+LOW)/4);
AVAR7:=SMA(((AVAR3/AVAR1)*100),3,1);
AVAR8:=LLV(LOW,34);
AVAR9:=(SMA(AVAR7,3,1)-SMA(AVAR4,9,1));
AVAR10:=IF((AVAR9>100),(AVAR9-100),0);
AVAR11:=HHV(HIGH,34);
AVAR12:=EMA((((AVAR6-AVAR8)/(AVAR11-AVAR8))*100),6);
AVAR13:=EMA(((0.667*REF(AVAR12,1))+(0.333*AVAR12)),2);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);