STICKLINE(C,90,90,1,0),COLOR3C3CFF;
STICKLINE(C,10,10,1,0),COLORCYAN;
K:=(C+H+L)/3;
D:=MA(K,4);
現(xiàn)價:C,NODRAW,COLORYELLOW;
股:=D;
幣:=LLV(D,5);
K2:=IF(股>幣+幣*0.01,0,幣+幣*0.01);
K3:=IF((股-(股*0.01))<幣,0,股-(股*0.01));
出擊≯:K2,NODRAW,COLORRED;
止盈≮:K3,NODRAW,COLORCYAN;
止損≮:幣,NODRAW,COLORGREEN;
VAR1:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
STICKLINE(C<止盈≮ OR 股=幣 OR C<幣+幣*0.01,VAR1,REF(VAR1,1),2.4,0),COLORFF6600;
STICKLINE(C<止盈≮ OR 股=幣 OR C<幣+幣*0.01,VAR1,REF(VAR1,1),1.8,0),COLORFF8800;
STICKLINE(C<止盈≮ OR 股=幣 OR C<幣+幣*0.01,VAR1,REF(VAR1,1),1.2,0),COLORFFAA00;
STICKLINE(C<止盈≮ OR 股=幣 OR C<幣+幣*0.01,VAR1,REF(VAR1,1),0.6,0),COLORFFCC00;
STICKLINE(C>=止盈≮ AND 股>幣 AND C>=幣+幣*0.01 OR (C>出擊≯ AND 出擊≯>1),VAR1,REF(VAR1,1),2.4,0),COLOR000099;
STICKLINE(C>=止盈≮ AND 股>幣 AND C>=幣+幣*0.01 OR (C>出擊≯ AND 出擊≯>1),VAR1,REF(VAR1,1),1.8,0),COLOR0000BB;
STICKLINE(C>=止盈≮ AND 股>幣 AND C>=幣+幣*0.01 OR (C>出擊≯ AND 出擊≯>1),VAR1,REF(VAR1,1),1.2,0),COLOR0000DD;
STICKLINE(C>=止盈≮ AND 股>幣 AND C>=幣+幣*0.01 OR (C>出擊≯ AND 出擊≯>1),VAR1,REF(VAR1,1),0.6,0),COLOR0000FF;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趨勢:VARC,COLORYELLOW,LINETHICK1;
多空:IF(趨勢>MA(趨勢,4),趨勢,DRAWNULL),COLORRED,LINETHICK1;
TYP:= (HIGH + LOW + CLOSE)/3;