Originally Posted by AndrewAMD
The manual is your friend! See the info on error code# 47:
[quote]Warning / Error 047: Not enough bars
Historical price data was invalid or insufficient for covering the test period or the LookBack period. In the latter case the script won't run. Possible reasons:
[list]The selected asset did not exist. Check your asset list.
Historical price data required for an asset was missing or had insufficient size or resolujtion, f.i. EOD data with 1-hour bars. Get more or better data.
...

Thanks for the reply, I indeed read the Error code before posting. And still could not find the solution in there. The data integrity seems to be ok (its the EURUSD M1 data from the zorro website) the asset exists, the test period was left undefined (which did not cause any problems when trying to plot other values with the plotBar function), I did not change the default value of MinutesPerDay or BarMode and the historical data i have should be enough (2005-2021). After going thru all those points I suspect the problem lies with my usage of the plotBar function, but if I' m wrong and you or anyone else has any idea of where the problem lies, please let me know. Thanks :]

Last edited by Sempervirens; 05/12/21 11:50.