Please see the attached chart in the next post.
I'm writing a script that will show three things.
1. Each 30-min interval where the price crosses long or short is noted. Price level is pre-determined.
2. When higher low is made, note level of previous lowest price excursion below the pre-defined level. Continue tracking "excursion" until a higher-high is observed.
3. Note price levels between previous lows and newer highs which would hit a trailing stop to optimize the trailing stop levels.
I'm trying to run this to obtain statistical levels comparing various intervals throughout the day (and night with forex).
I'm new to loops in efs and was wondering if these would be the best manner to run portions of this code.
Any help you could give would be sincerely appreciated.
Kirk
I'm writing a script that will show three things.
1. Each 30-min interval where the price crosses long or short is noted. Price level is pre-determined.
2. When higher low is made, note level of previous lowest price excursion below the pre-defined level. Continue tracking "excursion" until a higher-high is observed.
3. Note price levels between previous lows and newer highs which would hit a trailing stop to optimize the trailing stop levels.
I'm trying to run this to obtain statistical levels comparing various intervals throughout the day (and night with forex).
I'm new to loops in efs and was wondering if these would be the best manner to run portions of this code.
Any help you could give would be sincerely appreciated.
Kirk
Comment