Brain trend indicator

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

Moderator: admin

Brain trend indicator

Postby Alexander.Gettinger » Thu Apr 12, 2018 11:54 am

The indicator show up/down trends.

Formulas:
for DOWN trend must be:
Stochastic K<[Stochastic Level] and ABS(Close[i]-Close[i-Shift])>ATR/Range

for UP trend must be:
Stochastic K>1-[Stochastic Level] and ABS(Close[i]-Close[i-Shift])>ATR/Range

BrainTrend.PNG


Download:
BrainTrend_JS.jsl
(2.58 KiB) Downloaded 126 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3237
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 2 guests