StrategyProfit and Fees math
Forums › ProRealTime English forum › ProOrder support › StrategyProfit and Fees math
- This topic has 3 replies, 2 voices, and was last updated 2 years ago by
ZeroCafeine.
-
-
04/09/2023 at 11:47 AM #213048
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,
123IF StrategyProfit < - ((Capital/100)*10) ThenQuitENDIFIs 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?
04/12/2023 at 11:24 AM #213174I will answer myself when I find a good solution for count the exactly drawdown 😊
04/12/2023 at 1:20 PM #213186If spread is 1.5 pips, then I think you can calculate the fee like this:
12spread = 1.5fee = ((spread*pointvalue)*abs(countofposition))/pipsize1 user thanked author for this post.
04/12/2023 at 1:25 PM #213187tks 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 ?
-
AuthorPosts
Find exclusive trading pro-tools on