Forum

Read BITMAP_LABEL object contents

I'm using an indicator and I would like to write a EA based on that indicator. This Indicator is compiled and not open-source. Indicator just adds text "BUY" or "SELL" inside " OBJ_BITMAP_LABEL " Object. I want to know if it is possible to read the text inside "OBJ_BITMAP_LABEL", if yes, it would be

iclose() not working for multiple timeframes

I'm trying to print iclose value from multiple timeframes, but strategy tester only prints the value of timeframe that is being tested with. How can i get values from multiple timeframes in strategy tester? iClose ( "USDCHF" , PERIOD_M1 , 0 ); iClose ( "USDCHF" , PERIOD_M5 , 0 ); First iclose works

How to backtest from csv file

Hi, How can I backtest signals which I've listed in a CSV file on metatrader4

How to re-attach a script/EA from mql?

if some operations in scripts fail, the whole script will fail and halt. But when I remove and attach the script, it works. So just wanted to know if there is any way to re-attach the script from mql like handling an exception. Something like: result = do some operation; if(result == Fail){ restart