You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Your iCustom call to the indicator is returning EMPTY_VALUE, I don't see how this can be used when calculating a stop loss
Is this using the same parameters for the iCustom call as in your EA?
Do you think that -2147483645.87991 can be used as a stop loss?
Your iCustom call to the indicator is returning EMPTY_VALUE, I don't see how this can be used when calculating a stop loss
Is this using the same parameters for the iCustom call as in your EA?
Do you think that -2147483645.87991 can be used as a stop loss?
Ok...in a second thought you may be right ...
But why is it working as an initial Stoploss? (You can see that in the picture)
And yeah...it is the same parameter as in my ea. Does this matter? Because i thought the value would be the same so i could use it as a stoploss too.
Worldrecord for largest stoploss...can i get that award please :D
Thanks for helping me out man!
Best regards
But why is it working as an initial Stoploss? (You can see that in the picture)
You are using the indicator value as SL initially
But why is it working as an initial Stoploss? (You can see that in the picture)
You are using the indicator value as SL initially
Exactly. Then why it´s not working as a `trailingstoploss?
You are not using the indicator value as a trailing SL
You are using Open minus the indicator value
Actually i changed that.
But now the ea sends 10000 Orders and the trailingstop doesn´t work either.
He has to send 1 Order per signal and just get with the trailingstop.
Here he places the Order...per 1 Signal:
And this is, where the trailing stop should work:
I don´t know, where i failed.....i searched the whole code.
thanks for helping me out.
Best regards.
I don't see any calculations for sl.
Why don't you print the error?
A common error by some new coders is to check for a new bar more than once
The 2nd time, Oldbar has already been given the value of Time[0] so the 2nd block is not executed