Dear Karthik
Hi.
Please will u provide me a formula (AFL) to plot trending stop loss in Amibroker.
Thanks.
Hi.
PHP:
for stop loss, i liked ur "volatility based stop system". i.e.,
3*atr = r (initial risk), as it eliminates the risk of market noise to hit ur stop, if we place stop at 5% below ur entry price, as dave landry suggests. but i would like to add, "always put ur stop,below the recent
pivot low or "3*atr or 2*atr", whichever is lower" and check the pivot low in "weekly chart", which gives a strong support area.
Thanks.
I have made the AFL for ATR Trail stop requested by you. Save this in you custom Indicator folder and then drag and drop on any chart.
The Features are as follows
1.The ATR multiplication factor can be change from 1 to 3 in steps of 0.25.
2.There is selection provided for selecting either a line plot or a Dots plot from the parameter window. See attached images.
3.Sell Arrows are provided when the close goes below the Trailstop value.
4.Using the condition ATR or value of the last low pivot will keep you longer in the market if the stock moves side ways. I recommend that you use only the ATR value. See the attached charts for reference. For that purpose I have provided a selection in the parameter window whether to use Lower Pivot value or not. Also enclosed the snapshot of the parameter window.
Note: Please note that this afl is prepared for Long conditions only especially if you are using the last low pivot Condition.
Hope this meets your requirement.
Regards
Karthik
Last edited: