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.
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.
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
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.
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