Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=63324
Forum: 17 · Topic 63324 · 2 post(s)
Apprentice · Wed Mar 30, 2016 7:45 am

Based on the idea. viewtopic.php?f=27&t=63320
Trade direction is defined by averages indicator color change.
If Evaluation Method is set to “Current” Profitable Trade Current price is greater than price on opening
If Evaluation Method is set to “Onward” Profitable Trade Price N Periods after opening, is greater than price on opening
Averages.lua is available here. viewtopic.php?f=17&t=2430
Apprentice · Wed Aug 15, 2018 6:52 am
The indicator was revised and updated.