public static ADXR Series(WealthLab.Bars bars, int period)
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // Flag ADX/ADXR CrossOvers for(int bar = 20; bar < Bars.Count; bar++) { if( CrossOver( bar, ADX.Series( Bars, 14 ), ADXR.Series( Bars, 14 ) ) ) SetBackgroundColor( bar, Color.FromArgb(255, 227, 231) ); } } } }