I am making a Robot and i want to make all Ordercommision and OrderSwap calculation before setting its takeprofit in pips....
I want to Calculate OrderCommision, OrderSwap, Spread and TakeProfit altogether without taking minus as Profit...
This -Take Profit is setting back my EA....
Thanks for taking your time to answer me...
You can't calculate all of this before your order is in the market.
Swap will be added at the end of each day and you don't know how long it takes to touch TP or SL
Set your TP without Commission, Swap and Spread.
After the order is triggered, modify your TP with Commission and expected Sperad.
Then you have to modify your order at the end of each day with the Swap for the day.
Note: The Swap will also increase your losses.
Thanks for your quick and welcoming reply..
I know i will have to place it after Order Opened.
But, i want to make sure my calculations are all set before modifying TP and SL
To add comments, please log in or register