Trend Checker

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Trend Checker

Postby Apprentice » Wed Jan 04, 2023 3:12 am

EURUSD m1 (01-04-2023 0911).png

Based on the source
https://www.prorealcode.com/prorealtime ... ker-graph/
The indicator compares the price now to the price at the beginning of each look-back period and decides if it is up or down. The longer the lookback period the more weight is given to the result in the final calculation as it is difficult to argue with a long-term trend.

Above zero indicates that long trades are favored and below zero that short trades are favored.
My addition was the simple moving average of the results.
Trend Checker.lua
(7.19 KiB) Downloaded 63 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 61 guests