slipshod wrote:Ok, I've packaged the core functionality of the indicator into a library, which is now downloadable from the first post in the thread. No more need for iCustom() or global variables to access S/R zone info.
Instructions for how to install and use the library are included in the zip.
Hi, Sorry to appear a bit thick but i dont understand the instructions!
1) what does this call mean - example pls
In your EA's init() function, add a call to SSSR_Settings() with your preferred values
for how the library should calculate S/R levels. These should be the same as your
settings for the SS_SupportResistance_vX indicator.
2) Example pls of this call :
Where required in your EA, call SSSR_FindZone() with the following arguments:-
direction - must be either SSSR_UP or SSSR_DN. If SSSR_UP it looks for the nearest
resistance zone, SSSR_DN it'll look for a support zone.
3) Pls provide an example of how to determine the price action difference from the nearest support would be most appreciated. ie how many pips is the the price above the support top ???
Thanks in anticipation of you assistance
