im looking to use a renko chart and want to run an expert on this chart.
as far i understood, renko is running on an offline chart, this chart will be updated with every tick by the periode converter function with a normal 1M chart..
so now i want to use an EA on this chart, my questions are
is it possible to run an EA on a offline chart?
is there a possibillity to use the Renko chart as the normal one, means High[x], Low, Open, Close is working as in a normal way?
When the Renko offline chart is properly coded, you may use arrays High. Low, Volume, Time etc. in the same manner as for ordinary timeframes.
If you intend to read values from another chart with iHigh, iTime, iVolume etc, then it works only till the targeted offline chart stays open.
i use the Renko Live chart V3.2 from here
i tried to test it with
Comment("Owner : ", AccountName(),"Account number : ", AccountNumber() ,
"\nHigh : ", High,
"\nLow : ", Low,
"\nOpen : ", Open,
"\nClose : ", Close,
"\nSpread : ", MarketInfo(Symbol(),MODE_SPREAD));
which should be refresh every tick but i didnt get something out.
The Renko for itself runs well, i have a 1m timeframe with a Periode Converter and run on this chart the RenkoLiveChart
It appears that there is a problem now with using an EA on an offline chart.
Open a chart using the provided script: PeriodConvertor, and attached any working EA, and you will see nothing happens - no trades opened.
I have a Renko based on PeriodConvertor and it although it still produces the offline chart, an EA that traded on it, no longer works, yet it did up to version 711 (the last one I had before a recent update to 745).
I think I spoke too soon.
There are still problems trading an EA on an offline chart. Close down the terminal and reopen, even opening the same profile and everything is messed up. The offline chart has disappeared and the EA is found to be running on an H1 chart.
I don't suggest you try and run an EA on an offline chart till this is fixed.
I'm reverting to build 711, as I know offline charts work properly there.
do you know if now is possible to access Renko Live(or Offline) Chart with an EA?
I'd like to access on Renko's last bar through my EA ang get the last bar direction(if is up or down).
I'm using RenkoLiveCharts_pimped_v4_13
Yes, i've tried that code but i wasn't sure if it was correct for mine. So now is correct Ovo?
//last bar should be Up
//last bar sholud be Down
When i Print(Open, Close) on Strategy Tester it seems to print M1 value chart, not the Renko Chart values. I'm not sure if I'm acting in right mode.
In my EA i call Print function in every tick
To add comments, please log in or register