Creating new indicator- can’t get even a SMA to match data.
1 replies
Stormin_Norman2
3 years ago #258301
That is the outcome.
This is the codes:
MT4
value = iMA(NULL, PERIOD_CURRENT, 10, 0, MODE_SMA, PRICE_TYPICAL, 1);
SQX
double sma = Indicators.SMA(Input.Typical, 10).Value.get(0);
Am I missing something here?
tomas262
3 years ago #258471
Hello,
I have setup an SMA test and uploaded data from an export of iMA values using the function value = iMA(NULL, PERIOD_CURRENT, 14, 0, MODE_SMA, PRICE_TYPICAL, 1); and it works good
Viewing 1 replies (of 1 total)