Forum

Help me! iCustom function

I have 1 EA that uses iCustom function to get Fisher indicator data When back test there are too many windows of the Fisher indicator. Please help me fix this Thanks for reading int OnInit () { ArraySetAsSeries (priceInfo, true ); ArraySetAsSeries (fisherArray, true ); return (

How to insert data in SQLite?

I want to insert data into SQLite every tick but Error code: 5601 void OnTick () { string filename= "EA_data_" + AccountInfoInteger ( ACCOUNT_LOGIN )+ ".db" ; string sql; int database= DatabaseOpen (filename, DATABASE_OPEN_READWRITE | DATABASE_OPEN_CREATE | DATABASE_OPEN_COMMON ); sql =

[MQL5] How to get previous candle data from Heiken Ashi with iCustom

I need to get data of candles 0 and candles 1. I get candle 0: double HAOpen = iCustom ( NULL , 0 , "Examples\\Heiken_Ashi" , 0 , 0 ); double HAHigh = iCustom ( NULL , 0 , "Examples\\Heiken_Ashi" , 1 , 0 ); double HALow = iCustom ( NULL , 0 , "Examples\\Heiken_Ashi" , 2 , 0 ); double HAClose =

How to get information from Heiken Ashi indicator for EA

Hi everybody. I am newbie. I see Heiken Ashi indicator in this link: https://www.mql5.com/en/code/33 I need to get array information 0 and 1 of 5 variables to compare: double ExtOBuffer[]; double ExtHBuffer[]; double ExtLBuffer[]; double ExtCBuffer[]; double ExtColorBuffer[]; How to get

[Question] Bollinger Band Alert Arrow Indicator's rule and MBFX Timing's rule

Hi All. I am a newbie with MQL4 and MQL5. I need to create Bollinger Band Alert Arrow indicator and MBFX Timing indicator. Can you tell me the rules of 2 indicators? I thank you very much for your help