ansar9h
ansar9h
Friends 2
ansar9h
Added topic why multi charts drawing does not work while backtesting?
trying to draw on a different chart while backtesting does not work. The ChartNext is always coming -1
ansar9h
Added topic iBarShift not returning correct index?
datetime day_time = iTime ( Symbol (), PERIOD_D1 , 2 );      double    day_price= iHigh ( Symbol (), PERIOD_D1 , 2 );      int shift= iBarShift ( Symbol (), PERIOD_M15 ,day_time);
ansar9h
Added topic how to draw an arrow on multiple timeframes
i have two charts on the screen. both representing the same currency but different timeframes 15M and H1. below code i use to draw an arrow. works fine but problem it is getting drawn on M15 timeframe. i want to draw it on H1 timeframe. I believe the
ansar9h
Added topic calculating volume based on risk amount for gold
i use this code for calculating volume based on riskAmount and stop loss distance. this code works fine with forex trading but with gold it is not working properly.  with gold the volume is always wrong it always give me 10 times the actual
ansar9h
Added topic background color of rectangle not working
this the code below, the rectangle showing but background color does not show ObjectCreate ( 0 , "RECTANGLE_LABEL" , OBJ_RECTANGLE , 0 , x, fromRange, x2, toRange); ObjectSetInteger ( 0 , "RECTANGLE_LABEL" , OBJPROP_COLOR , clrYellow );
ansar9h
Added topic wrong data showing in tesla stock chart while trying to backtest
I have attached screenshot of the tesla stock. I am using mt5 account from [broker name redacted]
ansar9h
Added topic Backtesting showing wrong result in the graph
please check the attached screenshots .  There is a discrepancy between data showing in the backtest section and graph section
ansar9h
Added topic getting error "Invalid Price Length 13" when placing an order
please check my code below MqlTradeCheckResult m_check_result; MqlTradeRequest request; request.price = 132.628 ; if (! OrderCheck (request,m_check_result)){ return false    } return OrderSend (request, result); OrderCheck is failing and
ansar9h
Added topic toolbox UI issue
please help something wrong with toolbox not expanding properly 
ansar9h
Registered at MQL5.community