please expose sample of code illustrated this problem
SECTION OF SCRIPT THAT ILLUSTRATES THIS PROBLEM:
*note: the price data returned by the script (i.e. iHigh(), iLow(), ...) matches the price data on the chart, but only the the absolute values returned by iMACD() match the MACD values on the chart (the +/- signs are reversed)
////
i2 = shift-i;
H= iHigh(NULL, timeframe,i2);
L= iLow(NULL, timeframe,i2);
O= iOpen(NULL, timeframe,i2);
C= iClose(NULL, timeframe,i2);
T= iTime(NULL, timeframe,i2);
dbl2 = iMACD(NULL,0,p_MACD_slow,p_MACD_fast,p_MACD_signal,PRICE_CLOSE,MODE_MAIN,i2);
////
*note: the price data returned by the script (i.e. iHigh(), iLow(), ...) matches the price data on the chart, but only the the absolute values returned by iMACD() match the MACD values on the chart (the +/- signs are reversed)
////
i2 = shift-i;
H= iHigh(NULL, timeframe,i2);
L= iLow(NULL, timeframe,i2);
O= iOpen(NULL, timeframe,i2);
C= iClose(NULL, timeframe,i2);
T= iTime(NULL, timeframe,i2);
dbl2 = iMACD(NULL,0,p_MACD_slow,p_MACD_fast,p_MACD_signal,PRICE_CLOSE,MODE_MAIN,i2);
////
sorry, your sample illustrates nothing.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Example: when iMACD() returns -0.000014 the data window says the value is +0.000014; it appears to switch the +/- signs for all values.
Is this a glitch or am I overlooking something?
Thanks.