I want to test an indi based on ENUM values. Will an iCustom indi test allow testing of values such as...
extern int indiPeriod=14;
input ENUM_APPLIED_PRICE PriceType = PRICE_CLOSE;
input ENUM_RANGEMODE RangeType = HIGH_LOW;
input ENUM_TIMEFRAMES TimeFrame = 0;
AND....Are there integer alternatives available for the ENUM values (in bold font above)? I didn't see any mention in the MT4 docs.
I suppose the standard answers would be:
1. Try it and test it yourself to see if it works.
2. Convert the ENUM input variables into extern variables and convert the ENUM types into integer values.
I just wanted to see if anyone has tested an iCustom indi using ENUM values.
extern int indiPeriod=14;
input ENUM_APPLIED_PRICE PriceType = PRICE_CLOSE;
input ENUM_RANGEMODE RangeType = HIGH_LOW;
input ENUM_TIMEFRAMES TimeFrame = 0;
AND....Are there integer alternatives available for the ENUM values (in bold font above)? I didn't see any mention in the MT4 docs.
I suppose the standard answers would be:
1. Try it and test it yourself to see if it works.
2. Convert the ENUM input variables into extern variables and convert the ENUM types into integer values.
I just wanted to see if anyone has tested an iCustom indi using ENUM values.