OPEN-SOURCE SCRIPT

Profit Maximizer Strategy

Updated
First I would like to thank to KivancOzbilgic for developing this indicator.
All the credit goes to him.

I just created a strategy, in order to try to find the perfect parameters, timeframe and currency for it.

I will provide below the same description like he has in the publish of profit maximizer


Profit Maximizer - PMax combines the powerful sides of MOST (Moving Average Trend Changer) and SuperTrend (ATR price detection) in one indicator.

Backtest and optimization results of PMax are far better when compared to its ancestors MOST and SuperTrend. It reduces the number of false signals in sideways and give more reliable trade signals.

PMax is easy to determine the trend and can be used in any type of markets and instruments. It does not repaint.

The first parameter in the PMax indicator set by the three parameters is the period/length of ATR.

The second Parameter is the Multiplier of ATR which would be useful to set the value of distance from the built in Moving Average.

I personally think the most important parameter is the Moving Average Length and type.

PMax will be much sensitive to trend movements if Moving Average Length is smaller. And vice versa, will be less sensitive when it is longer.

As the period increases it will become less sensitive to little trends and price actions.

In this way, your choice of period, will be closely related to which of the sort of trends you are interested in.

We are under the effect of the uptrend in cases where the Moving Average is above PMax;
conversely under the influence of a downward trend, when the Moving Average is below PMax.

Built in Moving Average type defaultly set as EMA but users can choose from 8 different Moving Average types like:

SMA : Simple Moving Average
EMA : Exponential Movin Average
WMA : Weighted Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average aka VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force

Tip: In sideways VAR would be a good choice


You can use PMax default alarms and Buy Sell signals like:

1-
BUY when Moving Average crosses above PMax
SELL when Moving Average crosses under PMax

2-
BUY when prices jumps over PMax line.
SELL when prices go under PMax line.
Release Notes
Added new indicators for the entries logic like macd , double atr, parabolic sar , trend direction
Average True Range (ATR)BTCUSDcryptodaytradeMoving AveragessupertrendswingTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer