Forum

"Array out of Range" in Volume Indicator

Sir, I created this Volume Indicator but I am getting error " Array out of Range ". I have some wronged this Source code. Please check this 👇 #property indicator_separate_window #property indicator_minimum 0 #property indicator_buffers 3 #property indicator_color1 clrBlack #property

I want to Next 30 Candle to Buy or Sell Trades in 1 Minute Chart

Sir, I want to Next 30 Candle to Buy or Sell Trades in 1 Minute Chart. Please see this Photo :- https://charts.mql5.com/38/555/eurusd-m1-octa-markets-incorporated.png How to do code it ? I tried it but it doesn't work to Next 30 Candle to Buy or Sell. datetime m_prev_bars = 0 ; bool New_bar() {

BreakEven Order Modify Error 1

Sir, I learned this MQL5 Programming but I want to practice this MQL4 Programming because What is the result difference b/w MT4 & MT5 in my Real account . I am getting error "Order Modify Error 1" too many times.... Please use this OctaFX Broker MT4 Terminal ....because you are using another broker

I am getting too many error "Faied Modify [Invalid Stop] " in BreakEven Source code

Sir, I have 20 StopLevel & 19 Spread in OctaFX Broker. I am getting too many error " Invalid Stop ".....(Please see this Attached Photo What am I wrong this Source code ? //+------------------------------------------------------------------+ //| Breakeven Gain & Breakeven

I was backtest 10,000 steps and it took 50 minuts and it cost $9.45 in MQL5 Cloud !!!

Sir, I backtested into 10,000 steps optimisation and it took 50 minutes and cost $9.45 in MQL5 Cloud !!! Please see attached this Photo Anyone have good solution low cost in MQL5 Cloud

Trailing Stoploss is Invaid Stop

Sir, I am using Multi-Symbol... It has one found "Failed Modify this Stoploss ( Invalid Stop )" but It has working to m odified this Stoploss is too many times . Please see this attached photo.. //Input input group "Trailing Start & Step, Stop :- " input bool TrailingStart_Step_Stop = true ; input

Is this working "ChartSetInteger" to Multi-Currency (Multi -Symbol) ?

Sir , It is working this One Symbol // Show Grid is Switched Off ChartSetInteger ( ChartID (), CHART_SHOW_GRID , false ); // Show Ticker is Switched Off ChartSetInteger ( ChartID (), CHART_SHOW_TICKER, false ); // Show Volume is Switched Off ChartSetInteger ( ChartID ()

Grid trading doesn't work to Multi symbol...

Sir , I want to practice this Example EA MT5. 1) It is working to grid Trading into One Symbol. int Pip_Step( string symbol_2, int magic_2, double StopLoss_3, double TakeProfit_3) { double Open_Price = 0 ; bool LastIsBuy = false ; int TotalBuy = 0 ; int TotalSell =

How to detect a New Bar in Muti Symbol ?

Before (Without Array ) :- static datetime prevTime= 0 ; datetime lastTime[ 1 ]; if ( CopyTime ( _Symbol , _Period , 0 , 1 ,lastTime)== 1 && prevTime!=lastTime[ 0 ]) { prevTime=lastTime[ 0 ]; // ... } It is working one

I am getting 2 Warning but I tried " (string) (Font_name) "

Sir, I am getting 2 Warning but I tried " (string) (Font_name) " . double Balance = AccountInfoDouble ( ACCOUNT_BALANCE ); double Equity = AccountInfoDouble ( ACCOUNT_EQUITY ); string Balance_text = "Balance = " + DoubleToString (Balance); string Font_name = "Tahoma" ; // Set Create