Forum

Warning message

Hi guys, can anyone help me write the line of code to solve this warning please

Create a chart in an indicator window

Hi, I would like to re-create the candlestick chart in an indicator window, any suggestions about the functions to use/articles to read

How to shift an indicator

Hi guys, I created an indicator that has an array with size=24 and each day at Midnight It does a calculation changing those 24 values, I would like to visualize It with a histogram: If we are on the 1H chart at Midnight It should print the histogram with the first value under the Midnight candle

News Indicator

Hi guys, I'm creating an indicator to implement news volatility, the following code should permit the backtest of It, but It doesn't work (NewsEventUSD Isn't fill with values); any ideas? //+------------------------------------------------------------------+ //|

2-dimensional array out of range error

Hi, I'm coding an EA and I have this problem with a 2-dimensional array: when I backtest the EA the " array out of range " error pops up, can anyone help me please? input int LookBackPeriod= 10 ; //Look back period input int NumStds= 5 ; //Number of half stds int

Error in ObjectCreate

Hi, it gives me an error here... why? ObjectCreate("Arrow"+iTime(NULL,0,0), OBJ_ARROW ,0,iTime(NULL,0,0),Low); [MQL4] Thanks

MT5 Currency Strength indicator

Hi everyone, I was wondering if anyone could share a "Currency Strength Indicator" (which measures the strength of a currency's price in relation to other changes) for Metatrader 5 . Thanks and have a good day

Problem with Calendar function

Hi everyone, I can't solve this programming error: "lastTime2" and "name2" do not work (no value is assigned to them), but "lastTime1" and "name1" work. Some idea? Thank you //Script string name1,name2,name3; void OnStart () { string Currency1= StringSubstr ( _Symbol , 0 , 3 ); string Currency2=

News filter

Hi everyone, I would like to create a news filter so that my eas do not trade in the two previous hours at the exit of an important news and also in the next two hours. My problem is that I can't distinguish the important news (which I take in consideration) from those with little importance (I

My function to close all positions does not work properly

I created this function and as long as I do backtesting using [OHCL 1 MINUTE] it works correctly, but when I use [ EVERY TICK ] some error messages like the following appear (warning, not error): 2019.04.26 16: 00: 26.351 Core 1 EURUSD: 2017.06.05 00:01 - 2017.06.05 23:59 18 minute bars absent