I want to plot the actual signals instead of all raw signals. So, I need to modify the code, so they would not be generated on the same bar.
Currently I use the following loop for trailing stop:
stopLevelB = LLV(Ref(C, -1), 3);
trailstopB = 0;
for( i = 0; i < BarCount; i++ )
{...
Hello,
May I ask one more question how to plot the actual trades as what backtester show?
Currently i am using the following code for plotting but it will plot every signal in my strategy. As I remvoed some signal generated at the same bar, some long/short signals actually were not the...
Dear All,
I am new in here and learning to use Amibroker, I have a question which I actually don't know how to solve it.
I have a breakout strategy with the trailing stop. However, I discovered that the logic is unrealistic as I set the stop when H < UpperBand and L < trailing stop. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.