Example #1
0
File: code.cs Project: heber/FreeOQ
	public override void OnStrategyStart()
	{
		// set up bollinger bands
		bbl = new BBL(Bars, BBLLength, BBLOrder);
		bbl.Color = Color.Yellow;
		Draw(bbl, 0);
	}
Example #2
0
File: code.cs Project: heber/FreeOQ
	public override void OnStrategyStart() 
	{ 
		bbl = new BBL(Bars, BBLLength, BBLOrder); 
          
		bbl.Color = Color.Yellow; 
       
		Draw(bbl, 0); 
	}    
Example #3
0
File: code.cs Project: heber/FreeOQ
	public override void OnStrategyStart()
	{
		// set up the moving averages 
		sma = new SMA(Bars, SMALength);
		sma.Color = Color.Yellow;
		Draw(sma, 0);
		// set up bollinger bands
		bbl = new BBL(Bars, SMALength, BBLOrder);
		bbl.Color = Color.Pink;
		Draw(bbl, 0);
	}
Example #4
0
File: code.cs Project: heber/FreeOQ
	public override void OnStrategyStart()
	{
		// set up bollinger bands
		BBL bbl = new BBL(Bars, BLength, BOrder, Color.Pink);

		// set up a series for B (breakout force) value
		b = new B(Bars, BLength, BOrder, Color.Yellow);

		Draw(bbl, 0);
		Draw(b, 2);
	}