anuj71
anuj71
anuj71
Added topic Non Derivative Forex Trading
Hello, Contract for Difference (CFD) is a derivative product, which means we do not own any assets directly; instead, the value of the CFD product is derived from underlying assets. Therefore, CFD trades are not real currency exchanges. Is there any
anuj71
Added topic Closed the trade based on Time duration
Hello, I made the code, which close old trade after X time from Order Open Price . My code : void StopOrderSL( int trade_close_magic)   {    for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--)     
anuj71
Added topic How to convert classic Trailing Stop Loss to Virtual Trailing Stop Loss
Hello, Normally, Stop Loss execute in broker server and it send a data of Stop Loss value to broker. This has a disadvantage of too many operation and also Stop Hunting from most of the Forex brokers. To avoid this, i heard there is a concept called
anuj71
Added topic How to add different Timeframe Moving Average and RSI indicator in one chart
Hello, I am adding Moving average indicator with Period 5, Shift 0, Method Linear weight, apply to close price to GBPUSD Chart. I want this same value 3 moving average indicator for same currency pair for 3 time frame (1 Min, 5 Min and 15 Min). I can
anuj71
Added topic What is Period in iRSI or iMA or any Indicator
Hello, What does the period value in Indicators? . If i set period = 5 , this means (for 1 min timeframe, Period = 5 min), (for 5 min timeframe period equal to 25 min) , (for 15 min timeframe period = 75 min) and so on?. Period me number of candles
anuj71
Added topic (History Center) How to download Chart History from Broker Server instead of MetaQuotes
Hello, When i download Chart History it getting downloaded from MetaQuotes but i want a Data from my broker server?. How to download that using Metatrader 4
anuj71
Added topic OP_ALL is not working
Hello, Code to count orders : int trade_count_ordertype( int trade_count_ordertype_value, int trade_count_ordertype_magic)   {    int count_4 = 0 ;    for ( int pos_8 = 0 ; pos_8 < OrdersTotal (); pos_8++)
anuj71
Added topic OrderClosePrice() or Bid/Ask?
Should i use Bid/Ask for closing trade void CloseOpenAndPendingTrades( int trade_close_magic)   {    for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--)      {       
anuj71
Added topic What is Volumes in Metatrader
Hello, I know, the Volume generally mean Lot size in MT4 when we are opening new orders. But what is Volume in chart? What kind of information or data it shows?. And how it is useful
anuj71
Added topic How to get Most recently Closed OrderClosePrice()?
Hello, I am trying to get a last order close price (most recently closed order) based on filter Magic number and Order symbol . Code : double LastOrderClosePrice( int magic)   {    double LastOrderClosePrice_Price = 0 ;
anuj71
Added topic OrderDelete() Arrow Colour is not working
Hello, OrderDelete(OrderTicket(), clrViolet) , I am using this code, it should create an arrow mark object on chart with Violet but it not creating. Full code : void CloseOpenAndPendingTrades( int trade_close_magic)   {    for (
anuj71
Added topic Function to close Losing trade when it reached X distance
Hello, I am making a code, If Buy Order reach above 30 Point from Entry price, close Sell Order If Sell Order reach below 30 Point from Entry Price, Close Buy Order. int gRangeClosing_Automatic = 30 ; if ((LastOrderPrice(OP_SELL, gSellMagic) - Ask) /
anuj71
Added topic How many Letters does Order Comment Supports?
Hello, How many Letters/Characters does MT4 OrderComment() supported. I noticed, if i enter big comments, than it became empty/blank?. What is the Limit
anuj71
Added topic Is this information is true about MT4 & MT5 Trade Context Memory?
Hello, I came across information on the EarnForex forum stating that MT4 has only 1 trade context, which is why it often shows error 146 ("Trade context busy"). On the other hand, MT5 has 8 trade contexts, making it more suitable for Algo trading
anuj71
Added topic Extern does not work in MQL5?
Hello, I am trying to use extern instead of Input because i am changing it value later on the code. I am getting an error : extern variable initialization is not allowed 
anuj71
Added topic #property strict - Giving lot of warnings
Hello, When i add #property strict it gives me lot of working. Before adding Property Strict : 10 warning After adding Property Strict :65 warnings Is this normal
anuj71
Added topic Point Value In Money calculation (Indicator to EA Function)
Hello, I am trying to calculate Point Value and the code is working fine with Indicator but when i try same code with EA function it not working. Indicator code : int OnCalculate ( const int rates_total
anuj71
Added topic Stop Level for StopLoss (MT4 & MT5)
Hello, A little confusion about Stop Loss distance with Stop Level. Which one of the following statements is correct regarding the calculation of stop loss? 1. Stop Loss should be a distance from the Order Open Price/Order Entry Price by Stop Level
anuj71
Added topic Sequence StopLoss Trailing
Hello, I am creating a code, which trail all the order to same price at ones with magic number. Let say, there are 20 Open Order with Magic number 100, i want to trail all the order at same time at same price. To do this, i am trying like this double
anuj71
Added topic Error 146 ("Trade context busy") is due to Broker Server Side or MT4 Client Side?
Hello, I am using an EA attached to 4 currency pairs in one MT4 client. I frequently encounter an error " Trade context busy ." My question is, is this error due to my computer hardware resource issue (RAM/CPU), Metatrader 4 application-related