- Topics: 3
- Replies: 80
- Posts: 83
The following script will work…
V1 = FI() ;
V2 = MAB(V1, OPTION=ATR, MULT=3.00, DEFAULT=UpperLine, BARS=20);
V3 = MAB(V1, OPTION=ATR, MULT=3.00, DEFAULT=LowerLine, BARS=20);
V1 CrossesAbove V2 or V1 CrossesBelow V3
This will find when a Force Index crosses above or below the 20 period MA Bands using a 3ATR setting. (Wasn’t sure what settings you used on the Force index so my script uses the default settings, you can adjust this to your own settings if they are different).
Green Shaded Zone shows where the criteria passes.