Syntax
public RelativeDailyPPO(DataSeries ds, int DailyLength1, int DailyLength2, int WeeklyLength1, int WeeklyLength2, string description)
public static RelativeDailyPPO Series(DataSeries ds, int DailyLength1, int DailyLength2, int WeeklyLength1, int WeeklyLength2)
public WeeklyPPO(DataSeries ds, int WeeklyLength1, int WeeklyLength2, string description)
public static WeeklyPPO Series(DataSeries ds, int WeeklyLength1, int WeeklyLength2)
Parameter Description
ds | DataSeries e.g. Close |
DailyLength1 | First moving average period (daily PPO) |
DailyLength2 | Second moving average period (daily PPO) |
WeeklyLength1 | First moving average period (weekly PPO) |
WeeklyLength2 | Second moving average period (weekly PPO) |
Description
Created by Vitali Apirine, the weekly & daily PPO (W&D PPO) combines the two PPO oscillators (weekly and daily) on a daily chart.
Example
Please refer to
February 2018 Traders' Tip article's code in Stocks and Commodities Magazine.