Hi,
With two charts open, a 3 min "ES #F" with a MACD(12,26,9) study for comparison and a 55T "ES #F" with the following efs running I get very different values for the *.getValue(0) for each chart. I have also used the sym(...) but it gives me the same values as the inv(...), both different from the 3 min chart values. Both charts have the same time interval, I've used 3 day dynamic for both and also tried 3 day 9:30-16:15. The 3 min chart MACD most recent value was 1.79 but the 55T chart values for inv(3) of MACD was -6.40985839...
Any help is appreciated.
With two charts open, a 3 min "ES #F" with a MACD(12,26,9) study for comparison and a 55T "ES #F" with the following efs running I get very different values for the *.getValue(0) for each chart. I have also used the sym(...) but it gives me the same values as the inv(...), both different from the 3 min chart values. Both charts have the same time interval, I've used 3 day dynamic for both and also tried 3 day 9:30-16:15. The 3 min chart MACD most recent value was 1.79 but the 55T chart values for inv(3) of MACD was -6.40985839...
PHP Code:
//this is run on a 55T "ES#F" chart
debugClear();
function preMain() {
setPriceStudy(false);
}
function main(){
SymMACD = macd(12,26,9,inv(3));
SymMACDSignal = macdSignal(0,0,0,inv(3));
if(getBarState() == BARSTATE_CURRENTBAR) {
debugPrintln(SymMACD.getValue(0));
}
}
Comment