Forum

Number of possible values in an enum

1. How can one get the number of possible values in an enum? 2. How can one iterate through all possible values of an enum? Thanks

Trailing Stop

Can someone please give me an example of how to use the MQL5 built-in class TrailingFixedPips ? I tried the following: #include <Trade\Trade.mqh> #include <Expert\Expert.mqh> #include <Expert\Trailing\TrailingFixedPips.mqh> input string Expert_Title = "toets8" ; ulong Expert_MagicNumber = 55555 ;