Chris,
I tried to run a simulation using JS_BS_BIGKUP and JS_BS_BIGKDN on the Entries and Exit tab but the Run for the Exits returns nothing but a single empty yellow cell.
I then plotted them on a chart, and besides the fact that they look odd, having zigzag lines instead of single upside down V spikes for each event, the event value is output as a -1 for the JS_BS_BIGKDN indicator script.
Further analysis of that script showed it is calling your Kahuna indicator script and looking for this variable: BigDn: IF(Chg <= -0.4,-1,0),colorstick; which when true is outputting a -1 value.
I then looked in your indicator and scan XML files where all of the system script code is and found no other references for BigDn.
So then, for my purposes I modified this script line: event: FML('Kahuna(20,2)[BigDn]');
to this : event: -1*FML('Kahuna(20,2)[BigDn]');
and now my Exits ouput data appear when I hit Run.
You might want to add scan chartscripts into Edgerater for other users to access who want to use big Kahuna or little Kahuna exit signals.
Thanks,
Ed S.
Your Jeff Scott Barssince down Indicator has -1 for Event
Moderator: Chris White
-
- Posts: 212
- Joined: Mon Nov 29, 2010 9:21 pm
Re: Your Jeff Scott Barssince down Indicator has -1 for Even
Hi Ed,
The reason the JS_BS_BIGKDN and JS_BS_BIGKUP scripts show a zigzag line on the chart is that they are plotting the number of bars since the event. As the days go on the number is incremented by one until the next big kahuna is seen. So you end up with a saw-tooth waveform effect. In the next update I will add 4 new scan scripts so that you can get events for big and little kahunas. The scripts will be called:
You can then add these to entries and exits or plot them on a chart which will look like this:
Chris.
The reason the JS_BS_BIGKDN and JS_BS_BIGKUP scripts show a zigzag line on the chart is that they are plotting the number of bars since the event. As the days go on the number is incremented by one until the next big kahuna is seen. So you end up with a saw-tooth waveform effect. In the next update I will add 4 new scan scripts so that you can get events for big and little kahunas. The scripts will be called:
- WB_BigKUp
WB_BigKDn
WB_LittleKUp
WB_LittleKDn
Code: Select all
PBC:= FML('PercentBChg(20,2)');
event: PBC >= 0.4;