Thanks for the great Supply and demand indictor.
Can you tell me what 'Tuncoat' in the configuration settings means ?
Is there any way to access the buffers via iCustom ?
Turncoat means broken zone.
You can use indicator in your EA with following codes:
Use this line in OnInit function:
and use following lines in your function:
double R_high, R_low,S_high,S_low;
CopyBuffer(handle,4,0,1,R_high); // highest price of nearest Resistance Zone
CopyBuffer(handle,5,0,1,R_low); // lowest price of nearest Resistance Zone
CopyBuffer(handle,6,0,1,S_high); // highest price of nearest Support Zone
CopyBuffer(handle,7,0,1,S_low); // lowest price of nearest Support Zone
In the above code make sure indicator buffer numbers that you use are 4,5,6,7 Above code may not be accurate, please refer to mql5 manual.
Thanks for the code. Are you able to give me the MT4 version code ?
Shved Supply and Demand:
Author: Behzad Movaghar
hi behzad, been trying to get it on my Mac but im not sure how to download it. please help
Please enable the necessary setting in your browser, otherwise you will not be able to log in.