Quinefine Trader
New member
First time here. Just looking for a way, a function or a condition of some sort to meet these conditions
So my current code looks something like this:
I have also tried this
This works because it indicates when the price crosses the average, however from what I understand when the script is running its checking the and part of the script and making sure that each successive candle has more volume than the previous, I don't want this to happen. What I want to occur with the script is when the price crosses the moving average, the volume is greater than the previous candle. I'm not asking for my hand held (not that I wouldn't mind) but I'd greatly appreciate it if anyone can give me the tools to make it work. (TOS thinkscript website is kinda barebones).
If it is not possible or I need to elaborate further please let me know.
So my current code looks something like this:
Code:
plot Pricecross = close >= SimpleMovingAvg() and Volume crosses above Volume [-1];
I have also tried this
Code:
plot PriceCross = close crosses above SimpleMovingAvg() and if volume crosses above volume()[-1] then 1 else 0;
This works because it indicates when the price crosses the average, however from what I understand when the script is running its checking the and part of the script and making sure that each successive candle has more volume than the previous, I don't want this to happen. What I want to occur with the script is when the price crosses the moving average, the volume is greater than the previous candle. I'm not asking for my hand held (not that I wouldn't mind) but I'd greatly appreciate it if anyone can give me the tools to make it work. (TOS thinkscript website is kinda barebones).
If it is not possible or I need to elaborate further please let me know.