Example
Symbol | 10 Min Indicator | 65 Min Indicator | 1 Day Indicator | 1 Week Indicator |
AAPL | 0.5 | 1.2 | 4.3 | 4.0 |
NVDA | 0.2 | 3.4 | 3.7 | 5.6 |
MSFT | -0.1 | 1.2 | 4.5 | 2.4 |
I can't use calculate on bar close to accomplish what i need because otherwise 1 week indicator will only get calculated once per week for example.
I am wondering if each cell in the market analyser is it's own thread or not and if I can use like Thread.sleep() or something on it to make it wait before trying again.
Such as 9:30AM AAPL price updates and the indicator runs.. then before it returns I can put the thread to sleep for a minute or however long I want so that it is not trying to fire every time the price changes.
In the code it also sends the data of my indicator to my database so I don't really care if it doesn't update on the market analyzer due to me putting the thread to sleep.
Any info would help me. If I have it set to 'On bar close" i have no problems but if I have 'On price change' it tries to process basically all day and can't keep up. I need a way to do something in the middle where I can control the indicator running as I want. 'On bar close' is not enough times, and 'On Price Change' is too many times. So I need to control 'On Price Change' somehow and my thought was to try putting the thread to sleep. Let me know
Please add an option to update/run the cell's indicator on a user defined interval to the market analyzer. This is the only pet peeve I have with the software and it's a big problem for me.
Comment