小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

(倚天)移植個(gè)好玩的指標(biāo),不會(huì)用,不實(shí)用?好吧加兩個(gè)例子【止贏止損參考價(jià)】現(xiàn)貨海

 海天云騫 2017-03-17
 參數(shù) x   設(shè)成 你的開倉(cāng)價(jià)    1     10000


  
買入價(jià):=X;
DRAWTEXT(ISLASTBAR=1,買入價(jià)*0.999,'買入價(jià)'),COLORWHITE;
STICKLINE(買入價(jià),買入價(jià),買入價(jià),10,1),COLORBB97BB;
DRAWNUMBER(ISLASTBAR,買入價(jià),買入價(jià),0),COLORWHITE;

止贏5%:=買入價(jià)*1.005;
DRAWTEXT(ISLASTBAR=1, 止贏5%*0.999,'止贏5%'),COLORFF00FF;
STICKLINE(止贏5%, 止贏5%, 止贏5%,10,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止贏5%,止贏5%,0),COLORFF00FF;

止贏10%:=買入價(jià)*1.01;
DRAWTEXT(ISLASTBAR=1, 止贏10%*0.999,'止贏10%'),COLORFF00FF;
STICKLINE(止贏10%, 止贏10%, 止贏10%,10,1),COLORB00060;
DRAWNUMBER(ISLASTBAR,止贏10%,止贏10%,0),COLORFF00FF;

止贏15%:=買入價(jià)*1.015;
DRAWTEXT(ISLASTBAR=1, 止贏15%*0.999,'止贏15%'),COLORFF00FF;
STICKLINE(止贏15%, 止贏15%, 止贏15%,10,1),COLOR008000;
DRAWNUMBER(ISLASTBAR,止贏15%,止贏15%,0),COLORFF00FF;

止贏20%:=買入價(jià)*1.02;
DRAWTEXT(ISLASTBAR=1, 止贏20%*0.999,'止贏20%'),COLORFF00FF;
STICKLINE(止贏20%, 止贏20%, 止贏20%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止贏20%,止贏20%,0),COLORFF00FF;

止贏30%:=買入價(jià)*1.03;
DRAWTEXT(ISLASTBAR=1, 止贏30%*0.999,'止贏30%'),COLORFF00FF;
STICKLINE(止贏30%, 止贏30%, 止贏30%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止贏30%,止贏30%,0),COLORFF00FF;


止損5%:=買入價(jià)-買入價(jià)*0.005;
DRAWTEXT(ISLASTBAR=1, 止損5%*0.999,'止損-5%'),COLORGREEN;
STICKLINE(止損5%, 止損5%, 止損5%,10,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止損5%,止損5%,0),COLORGREEN;

止損10%:=買入價(jià)-買入價(jià)*0.01;
DRAWTEXT(ISLASTBAR=1, 止損10%*0.999,'止損-10%'),COLORGREEN;
STICKLINE(止損10%, 止損10%, 止損10%,10,1),COLORB00060;
DRAWNUMBER(ISLASTBAR,止損10%,止損10%,0),COLORGREEN;

止損15%:=買入價(jià)-買入價(jià)*0.015;
DRAWTEXT(ISLASTBAR=1, 止損15%*0.999,'止損-15%'),COLORGREEN;
STICKLINE(止損15%, 止損15%, 止損15%,10,1),COLOR008000;
DRAWNUMBER(ISLASTBAR,止損15%,止損15%,0),COLORGREEN;

止損20%:=買入價(jià)-買入價(jià)*0.02;
DRAWTEXT(ISLASTBAR=1, 止損20%*0.999,'止損-20%'),COLORGREEN;
STICKLINE(止損20%, 止損20%, 止損20%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止損20%,止損20%,0),COLORGREEN;


例子一。黃金分割?
買入價(jià):= ref(c,1);{if(CROSS(DEA1,DIFF1),c,0);賣'}
DRAWTEXT(ISLASTBAR=1,買入價(jià)*0.999,'買入價(jià)'),COLORWHITE;
STICKLINE(ISLASTBAR and 買入價(jià),買入價(jià),買入價(jià),10,1),COLORBB97BB;
DRAWNUMBER(ISLASTBAR,買入價(jià),買入價(jià),0),COLORWHITE;

止贏5%:=買入價(jià)*1.005;

STICKLINE(ISLASTBAR and 止贏5%, 止贏5%, 止贏5%,10,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止贏5%,止贏5%,0),COLORFF00FF;

止贏10%:=買入價(jià)*1.01;

STICKLINE(ISLASTBAR and 止贏10%, 止贏10%, 止贏10%,10,1),COLORB00060;
DRAWNUMBER(ISLASTBAR,止贏10%,止贏10%,0),COLORFF00FF;

止贏15%:=買入價(jià)*1.015;

STICKLINE(ISLASTBAR and 止贏15%, 止贏15%, 止贏15%,10,1),COLOR008000;
DRAWNUMBER(ISLASTBAR,止贏15%,止贏15%,0),COLORFF00FF;

止贏20%:=買入價(jià)*1.02;

STICKLINE(ISLASTBAR and 止贏20%, 止贏20%, 止贏20%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止贏20%,止贏20%,0),COLORFF00FF;

止贏30%:=買入價(jià)*1.03;

STICKLINE(ISLASTBAR and 止贏30%, 止贏30%, 止贏30%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止贏30%,止贏30%,0),COLORFF00FF;


止損5%:=買入價(jià)-買入價(jià)*0.005;

STICKLINE(ISLASTBAR and 止損5%, 止損5%, 止損5%,10,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止損5%,止損5%,0),COLORGREEN;

止損10%:=買入價(jià)-買入價(jià)*0.01;

STICKLINE(ISLASTBAR and 止損10%, 止損10%, 止損10%,10,1),COLORB00060;
DRAWNUMBER(ISLASTBAR,止損10%,止損10%,0),COLORGREEN;

止損15%:=買入價(jià)-買入價(jià)*0.015;

STICKLINE(ISLASTBAR and 止損15%, 止損15%, 止損15%,10,1),COLOR008000;
DRAWNUMBER(ISLASTBAR,止損15%,止損15%,0),COLORGREEN;

止損20%:=買入價(jià)-買入價(jià)*0.02;

STICKLINE(ISLASTBAR and 止損20%, 止損20%, 止損20%,10,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,止損20%,止損20%,0),COLORGREEN;


{STICKLINE(買入價(jià),止贏5%,止損5%,1,1),COLORgreen;}

例子二 在買賣點(diǎn)處加上?
買入價(jià):=if(CROSS(ma(c,20),ma(c,10)),c,0);{賣出}
DRAWTEXT(ISLASTBAR=1,買入價(jià)*0.999,'買入價(jià)'),COLORWHITE;
STICKLINE(ISLASTBAR and 買入價(jià),買入價(jià),買入價(jià),10,1),COLORBB97BB;
DRAWNUMBER(ISLASTBAR,買入價(jià),買入價(jià),0),COLORWHITE;

止贏5%:=買入價(jià)*1.005;

STICKLINE(ISLASTBAR and 止贏5%, 止贏5%, 止贏5%,20,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止贏5%,止贏5%,0),COLORFF00FF;

止損5%:=買入價(jià)-買入價(jià)*0.005;

STICKLINE(ISLASTBAR and 止損5%, 止損5%, 止損5%,10,1),COLOR000090;
DRAWNUMBER(ISLASTBAR,止損5%,止損5%,0),COLORGREEN;
STICKLINE(買入價(jià),止贏5%,止損5%,1,1),COLORgreen;

補(bǔ)充內(nèi)容 (2015-6-15 14:14):
群號(hào)130497848 懶人的笨方法

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約