Forum

issue with mu trailing stop loss

for ( int TrC = OrdersTotal () - 1 ; TrC >= 0 ; TrC -- ) { if ( ! OrderSelect ( TrC, SELECT_BY_POS,MODE_TRADES ) ) { Print ( "OrderSelect Error #:" , GetLastError ()); continue ; } if ( OrderSymbol() != symb || OrderMagicNumber() != mgn ) continue ; //symb is desired symbol and

Issie with already available indicator ADX in MT4

The ADX calculated in MT4 with period 14 id different than ADX calculated by tradingviews.com chart or investing.com chart. Why is it so? Can any body knows this

Check Trade near by

I was trying to code on "is there any trade near by with in certain pips or not" Does any body thinks that is it possible to check whether there is any opened position within the range of certain pips from current tick data. I was trying for that and end up with nothing. If any one could suggest me

Can any body help me with this

After compiling it shows that "not all control path returns value" where is the mistake? Can anybody suggest me? bool DTNAR() { double DTNAiPtFc= 100 ; double buyprice,sellprice,pointDTNA,AskV,BidV,pacal; buyprice=MarketInfo( Symbol (),MODE_ASK); sellprice=MarketInfo( Symbol (),MODE_BID); if

Problem with seller registration

I have submitted my all the required documents but also my application to seller is rejected. How many documents do we need to submit, isn't it the only passport and my photo with QR code. I have submitted my both documents which is taken by camera only and it is not edited anywhere. But then also

make EA to select different Stop level for different symbol

hey guys, I want to make my EA to select the stop level for each symbol differently. For example:- I want my EA to use stop level for EURUSD=100, USDJPY=250, GBPJPY=175, How can EA check the chart symbol and matches from above and use above desired stop level for selected chart. I would be very much