[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Help on customerized indicator plotting



PureBytes Links

Trading Reference Links

Hi traders,  

May I ask for your help again -

how can I plot a " trailing stop line" that continously
represents the trailing stop level ?

Thanks for your help
Regards
Robert

_____________________________________________________________

MA1Pr=Optimize("MA1Pr",1,1,3,1);
LBPr=Optimize("LBPr",3,3,9,1);
LBD=Optimize("LBD",1,1,3,1);

Buy = Cross(BBandBot(Close,LBPr,LBD), EMA(Close,MA1Pr));
Sell = Cross(EMA(Close,MA1Pr), BBandTop(Close,LBPr,LBD));
Short = Cross(EMA( Close,MA1Pr), BBandTop(Close,LBPr,LBD));
Cover = Cross(BBandBot(Close,LBPr,LBD), EMA(Close,MA1Pr));

ApplyStop(2, 2, Optimize("max.loss stop level", 0.0055, 0.0005, 
0.0100, 0.0005 ), 2, False, 1 ); 

PositionSize = 100000;
______________________________________________________________



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/