Forum

Tactics on how to detect ranging or trending markets - Discussion

If your posting code please limit to forum specific MT5 only. Please take a look at a thought on logic for how to detect ranging or trending markets. Any thoughts or idea or other logic that I can implement to detect ranging or trending market would be great to hear. Please discuss your tactics on

Function Not Visible From Within Script - Other Functions Are Though !?!

I have some functions in a script file some of which are visible and callable from within the same script. Others though always throw the compile error -undeclared identifier. I'm assuming that i have something wrong with programmatic flow. Any help would be appreciated - the Copy File Function is

Virtual Trailing StopLoss for multiple Positions of the same type

Hi, I am trying to update and reference multiple SL values using a function TrailingStop() When I have two positions open and I iterate through them selecting ticket by index I am able to update the two different SL Values. I do this for each position and store the SL value in an Array double