PureBytes Links
Trading Reference Links
|
Hi,
I am trying to plot a trailing stop under
the price bars so that I can visually see
where the stops are triggering.
My system uses the TrailStop() function
which apparently adjusts upwards only on
"UP" days but does not adjust on "Down" days.
I want to see this in action :-)
Is it possible to plot an AFL function value ?
Can anyone help with this please.
Here's what I have so far....
//Set the triling stop amount to 2 x ATR(14)
TrailStopAmount = 3* ATR(14);
//Set the trailing stop to 3 time ATR()
ApplyStop( 2, 2, TrailStopAmount, 1 );
//Plot the price data
Plot(Close,"ClosePrice", colorBlack, styleBar);
//Plot the Training Stop Line
Plot( ??????? ,"StopLine",colorRed, styleThick);
Thanks,
Gosub283
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/
|