Charting & Crossover

A forum for all EdgeRater users

Moderator: Chris White

Post Reply
Rickbw
Posts: 5
Joined: Sat Dec 04, 2010 1:48 pm

Charting & Crossover

Post by Rickbw »

A couple questions;

1) Is there a way to shade Bollinger Bands in the chart designer?

2) Can I create an event where the LRC_SDChannel (10,1)Mid crosses above the BB(10,0.5)Lower as an entry &
when the LRC_SDChannel (10,1)Mid crosses below the BB(10,0.5)Upper as an exit?

Thank you
Chris White
Posts: 201
Joined: Mon Nov 29, 2010 9:21 pm

Re: Charting & Crossover

Post by Chris White »

Hi Rick,

1. There is an indicator called AreaBB which draws a shaded area between the Bollinger Bands.

2.
Here's the code you would need for the entry:

Code: Select all

BBL:= FML('BB(10, .5)[Lower]');
LRC:= FML('LRC(10)');
event: CROSS(LRC, BBL);
And for the exit:

Code: Select all

BBU:= FML('BB(10, .5)[Upper]');
LRC:= FML('LRC(10)');
event: CROSS(BBU, LRC);
Here's a chart with the indicators:
rick_entry_exit.png
rick_entry_exit.png (65.45 KiB) Viewed 8983 times
Post Reply