WilliamsPctR


Summary

The Williams Percent R indicator is a momentum indicator measuring overbought and oversold levels.

Syntax

public WilliamsPctR WilliamsPctR(int periods)
public WilliamsPctR WilliamsPctR(MarketSeries marketSeries, int periods)

Parameters

NameDescription

Example 1

//...
private WilliamsPctR williamsPctRSeries;
//...
protected override void OnStart()
{
    williamsPctRSeries = Indicators.WilliamsPctR(14);
    //...
}        
protected override void OnTick()
{
    double williamsPctRValue = williamsPctRSeries.Result[index];
    //...
}