Hi There
I would like to use previous values of the TRIX custom indicator as part of an entry trigger in an EA. E.g.
Enter long if TRIX[1] > 0 and TRIX[2] < TRIX[1]
or
Enter Short if TRIX[1] < 0 and TRIX[2] > TRIX[1]
Where TRIX[1] refers to previous period's TRIX value and TRIX[2] refers to TRIX value of two periods ago.
I guess that one would have to use the iCUSTOM functionality, but am unsure how to use this.
I attach the current version of the TRIX custom indicator I have.
Thank you in advance
Suzette
I would like to use previous values of the TRIX custom indicator as part of an entry trigger in an EA. E.g.
Enter long if TRIX[1] > 0 and TRIX[2] < TRIX[1]
or
Enter Short if TRIX[1] < 0 and TRIX[2] > TRIX[1]
Where TRIX[1] refers to previous period's TRIX value and TRIX[2] refers to TRIX value of two periods ago.
I guess that one would have to use the iCUSTOM functionality, but am unsure how to use this.
I attach the current version of the TRIX custom indicator I have.
Thank you in advance
Suzette
Attached File(s)
TRIX.mq4
5 KB
|
957 downloads