- Code: Select all
if BMax <= high and FMax <= high then
We have Up Signal
end
if BMin >= low and FMin >= low then
We have Down Signal
end
Bmax, Bmin as the previous period N Max, Min.
Fmax, Fmin as following N period Max, Min.
Forward component causes repaint.