ReverseMinMax indicator

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

ReverseMinMax indicator

Postby Alexander.Gettinger » Wed May 02, 2018 12:35 pm

Formulas:
ReverseMin[i] = Low[HL],
ReverseMax[i] = High[LH],
Min[i] = Low[LL],
Max[i] = High[HH], where
HL - index of highest Low price at range from (i-Reverse_Length+1) to (i-1),
LH - index of lowest High price at range from (i-Reverse_Length+1) to (i-1),
HH - index of highest High price at range from (i-Length+1) to (i-1),
LL - index of lowest Low price at range from (i-Length+1) to (i-1).

ReverseMinMax.PNG


Download:
ReverseMinMax_JS.jsl
(3.63 KiB) Downloaded 554 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: Google [Bot] and 9 guests