How to plot simple trailing stoploss of fixed points

josh1

Well-Known Member
#1
Can anybody tell me how to create and plot a Trailing stop loss of fixed points? Say 2, 5 , 10, 20 or 40 points.
Built in Applystop function does not plot stop loss.
 

manojborle

Well-Known Member
#3
Can anybody tell me how to create and plot a Trailing stop loss of fixed points? Say 2, 5 , 10, 20 or 40 points.
Built in Applystop function does not plot stop loss.
I think first of all we must have buy and sell rules, then only we can set stop loss system
 

manojborle

Well-Known Member
#4
For example the logic will be like this.
1. Buy signal is generated
2. we keep a stop loss of 20 points down from the high
3. if next bar high is higher then stop loss is increased to current high - 20.
4. if price does not cross next high then stop loss will remain same.
5. we use Plot function to plot it on chart
I am not much into programming but will give it a try

Similarly the logic will be reverse for short signal
 

sr114

Well-Known Member
#5
Can anybody tell me how to create and plot a Trailing stop loss of fixed points? Say 2, 5 , 10, 20 or 40 points.
Built in Applystop function does not plot stop loss.
Josh

Ed had written/converted Vstop (stopless) from Metastock. u canuse it for ur requirement

rgds
subroto

p.s.- just google+"vstop"+"amibroker" ad u will find it
 

josh1

Well-Known Member
#6
Josh

Ed had written/converted Vstop (stopless) from Metastock. u canuse it for ur requirement

rgds
subroto

p.s.- just google+"vstop"+"amibroker" ad u will find it
Thanks Subroto

I think it is working

Josh
 

josh1

Well-Known Member
#8

mastermind007

Well-Known Member
#10
hi

plot stoploss this way for daily chart.
Only drawback about this is that it assumes that you are continously trading. Either you hold Long or are holding short. There is no concept of NOT HOLDING any position
 

Similar threads