I created a working arbitrage expert advisor which i've been using for 2months now and making huge profits and petty little losses, but i found out my expert is not including takeprofits and stoploss sometimes maybe it is too low or maybe it is too high(Dunno), but the expert works well without takeprofit..
This is the formula i use:
OrderOpenPrice() + TakeProfit(20) * Point + 0.0 * MarketInfo(Symbol(),MODE_STOPLEVEL) * 1.0 * Point + Spread * 0.0
OrderOpenPrice() - TakeProfit(20) * Point - 0.0 * MarketInfo(Symbol(),MODE_STOPLEVEL) * 1.0 * Point + Spread * 0.0
Does this make any senses at all?
Is my calculation the foolish way or its just too complicated for an arbitrage ea?
I made a whole month withdrawal without using sl or tp, but i think it is dangerous in the event there is an unexpected(Either VPS Shutdown or something else)...
Please, Can you help me check if i'm making any senses?
0.0 * MarketInfo(Symbol(),MODE_STOPLEVEL) * 1.0 * Point
Spread * 0.0
OrderOpenPrice() + TakPprofit(20) * Point