afkariaus / Publications
Forum
consider spreads and comission
hi guys i want to code an EA that when open a Buy/Sell position with 60 point profit. if the position goes to -20 point profit then open a position In the opposite direction of first position with 60 point profit the code is hear: if (orderType==OP_BUY) ticket = OrderSend ( Symbol
question: when spreads are calculated?
hi i want to code an expert so i confused a little when i send an order sell/buy stop when spreads are calculated? when register an expert or when a deals open? thanks
cant close my positions
Hi guys i write a function that check if in timefram 5m the last candle is ascending then close sell position an if last candle is descending close buy position but it cant close positions when i try to comment returning OrderClose on chart it only comment false please help me that where is my
my expert not working correctly
hi guys i'm new in mt4 i want an expert that: if 2 candles in timeframe m1 are ascending and in timeframe m5 an ascending candle is forming then open a buy position if in m5 ascending candle change to descending candle then close position if 2 candles in timeframe m1 are descending and in timeframe