I am using the current formula to return the close from the daily chart. However I would like to also return the price from a specific time of day (19:00). Is there a way to replace the close of Daily bar to return this price?
I only use this on an intraday chart
Thanks in Advance
I only use this on an intraday chart
Thanks in Advance
PHP Code:
var vLastAlert = -1;
function preMain() {
setPriceStudy(false);
setStudyTitle("Satosan Arb2");
setCursorLabelName("?", 0);
setDefaultBarStyle(PS_SOLID, 0);
setDefaultBarFgColor(Color.red, 0);
setDefaultBarThickness(2, 0);
setPlotType(PLOTTYPE_LINE, 0);
}
function main() {
return (close() - close(0,inv("D"))) / close(0,inv("D"));
}
function postMain() {
}
function onAction1() {
vLastAlert = 1;
}
Comment