Lode Loyens: Where would I put YourRatio?
Or is there another way to retrieve the value?
Icustom only reads buffers. You can't read variables.
int iCustom( string symbol, // symbol name ENUM_TIMEFRAMES period, // period string name // folder/custom_indicator_name ... // list of indicator input parameters );
"// list of indicator input parameters" means you just list all needed parameters in the same order as shown in indicator's input.
Hi; thanks for the response.
Learned something new today. Thank you so much.
Happy holidays still.

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
Hi I have an indicator where the user defines their profit ratio.
The int value is stored in the var "YourRatio". I am not using the SetIndexBuffer() function
In a separate EA that is not related to that indicator, I would like to retrieve the value of YourRatio.
I can use the iCustom command but am not sure where to place the YourRatio value
Where would I put YourRatio?
Or is there another way to retrieve the value?
Thanks