Hi Everyone,
I used the search function but I can’t find an answer to my question which is normally quite simple, at least I hope so
I would like to use the StrategyProfit function to stop my strategy if my capital falls by 10%, but if I understand correctly from the documentation this function does not take into account fees,
IF StrategyProfit < - ((Capital/100)*10) Then
Quit
ENDIF
Is there a simple solution to get the number of entries and exits in order to multiply this number by a spread fix? So I take the opportunity to ask the question: is it possible to know the Spread in real time on Forex for example?
I will answer myself when I find a good solution for count the exactly drawdown 😊
If spread is 1.5 pips, then I think you can calculate the fee like this:
spread = 1.5
fee = ((spread*pointvalue)*abs(countofposition))/pipsize
tks you, I will come back with a concentrate of all your answers on several posts, I keep your answer warm
knew you If it’s possible to retrieve the value of the fees in real time, exemple for Forex pair ?