Two frequently used methods of "getting" historic indicator data from within an EA are:
- Using iCustom() to call a separate indicator file from within an EA; and
- Embedding all of an indicator's source code calculations inside a custom function within an EA.
You're mixing both to some extent but implementing neither completely.
The easier method is the former where you use iCustom(), a handle, and CopyBuffer():
Ryan L Johnson #:
Ok Sir
Two frequently used methods of "getting" historic indicator data from within an EA are:
- Using iCustom() to call a separate indicator file from within an EA; and
- Embedding all of an indicator's source code calculations inside a custom function within an EA.
You're mixing both to some extent but implementing neither completely.
The easier method is the former where you use iCustom(), a handle, and CopyBuffer():
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
Sir / Mam,
I don't want to get the 1st and 3rd Values in the ZigZag indicator Because I want to get the 2nd Value for the stop loss in a buy trade.
How to get the 2nd Value of the ZigZag indicator for the stop loss in a buy trade?
Please solve this code 👇
OR
You can send me MQL5 code