Support Board
Date/Time: Fri, 10 Jan 2025 20:57:33 +0000
Post From: POC Sub Graph in Vol By Price Study inaccessible for alerts
[2016-09-27 14:45:51] |
User299392 - Posts: 216 |
I am very close on this but still not there quite - please if you can help here. See image below - http://www.sierrachart.com/image.php?Image=1474987366545.png This is an intra day Daily chart with Volume Value Area Study marking POC in pink on each bar with 1 day referenced back meaning each day bar that has pink dash on it represents the POC from previous day. That said, a simple alert that I want is it should background yellow every time close = POC going back 7 days (that is the most argument code it will accommodate in the Alert Condition. With this code below - it is background coloring all the bars. Question is why so? OR( CROSSOVER(C,ID1.SG1),C=ID1.SG1, CROSSOVER(C,ID1.SG1[-1]),C=ID1.SG1[-1], CROSSOVER(C,ID1.SG1[-2]),C=ID1.SG1[-2], CROSSOVER(C,ID1.SG1[-3]),C=ID1.SG1[-3], CROSSOVER(C,ID1.SG1[-4]),C=ID1.SG1[-4], CROSSOVER(C,ID1.SG1[-5]),C=ID1.SG1[-5], CROSSOVER(C,ID1.SG1[-6]),C=ID1.SG1[-6], CROSSOVER(C,ID1.SG1[-7]),C=ID1.SG1[-7] ) Especially if you see the blue arrow - that bar touched neither its own bar (which is POC of its previous day) nor did it cross or equal the POC of the bar before and yet the background color is yellow. Not sure why would it do that? Please, will appreciate this help! |