PROTECTED SOURCE SCRIPT
TheStocksDoctor_Advanced PPO and Number of Shares to Buy

This is part of TheStocksDoctor Trading system.
The script is a combination of Advanced Percentage Price Oscillator script and an original script that provides users with the number of shares to buy if LONG based on your portfolio size and the percent you'd like to risk per trade.
Inputs are as follows:
Short length --> 9
Long length --> 26
Show signal --> [yes]
Show histogram --> [yes]
Signal Smoothing --> 9
Risk --> 1 (input the percent of portfolio you'd like to risk here)
AccBln (Account Balance) --> **your account balance**
Look Back Period --> 24
ATR Period --> 24
ATR Multiplier --> 1
ATR days lookback --> 7
ATR Modifier --> 1.1
The script is a combination of Advanced Percentage Price Oscillator script and an original script that provides users with the number of shares to buy if LONG based on your portfolio size and the percent you'd like to risk per trade.
Inputs are as follows:
Short length --> 9
Long length --> 26
Show signal --> [yes]
Show histogram --> [yes]
Signal Smoothing --> 9
Risk --> 1 (input the percent of portfolio you'd like to risk here)
AccBln (Account Balance) --> **your account balance**
Look Back Period --> 24
ATR Period --> 24
ATR Multiplier --> 1
ATR days lookback --> 7
ATR Modifier --> 1.1
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.