Hi there,
This is my first time using python (although I'm experienced in MATLAB), so I'm assuming the solution here is something I'm missing in basic python..
Can I store a variable containing a numerical value calculated in one iteration of the code (i.e. in one bar), for use in the next? In other words, how do I create a variable that will store price data for a number of consecutive minutes? I tried using 'history' to call past prices, but this would only pull the daily closing price; not the prices for previous minutes.
Any help much appreciated. Thank you!