Ivan Felipe
New member
Hi, can anybody help me with this ?
In the code:
fold i = 0 to 200 with res1 = 0 while res1 <= high do ...whatever;
this doesn´t work - and stop execution of the script - when there is not enouth historical data (less than 200 bars in this case ) and it shows an error messsage like this:
" Study requires at least 265 bars to be computed but only 155 are available..."
Any idea how to solve this trouble or, at least, how to find the amount of historical available data (155 in this case) to handle a solution-
Thanks a lot... (Please excuse my english)
In the code:
fold i = 0 to 200 with res1 = 0 while res1 <= high do ...whatever;
this doesn´t work - and stop execution of the script - when there is not enouth historical data (less than 200 bars in this case ) and it shows an error messsage like this:
" Study requires at least 265 bars to be computed but only 155 are available..."
Any idea how to solve this trouble or, at least, how to find the amount of historical available data (155 in this case) to handle a solution-
Thanks a lot... (Please excuse my english)