Source: https://fxcodebase.com/code/viewtopic.php?f=31&t=72470
Forum: 31 · Topic 72470 · 4 post(s)
Apprentice · Fri Jul 08, 2022 11:43 am

Open Long Close > max(Close[-1], Open[-1]) + ABS(Close[-1] - Open[-1])/2 Price > MA
Close Long Price < MA
Vice Versa for Short
Previous candle RangeBreakOut Strategy.lua
Avignon · Mon Jul 11, 2022 5:30 am
What is ABS?
Apprentice · Tue Jul 12, 2022 12:56 am
math.abs Return the absolute, or non-negative value, of a given value.
Avignon · Tue Jul 12, 2022 1:16 am
Thanks!