Hi Campbell,
The ATR-TS of the MACD histogram didn't work, it did produce an indicator but wasn't usable.
At this point I might move onto other indicator sets and just use the three MACD's and the RSI of the three histograms as a visual system, until the BC RSI gets an upgrade. I have this working in Trading View anyway with enough triggers to fill the screen and keep me busy.
What I have found mucking around with introduced indicators is a very solid setup that could potentially overtake my interest in the MACD as the primary indicator, especially the Histogram as this was always my indicator of interest for catching the tops and bottoms in trend; the new indicator set being two ATR trailing stops one set long and one set short and combined with a public domain (PD-SIROC) indicator for trading within the ATR-TS / MACD defined trend, of which I can setup in BCFL to give triggers and scans for.
I have found after four and a half months of using both SPA 3 systems in the test portfolios is that the Investor portfolio has substantially out performed the Trader one, in fact the Trader portfolio at this stage is a basket case, probably due to leaving trending stock to early on 21:8 Siroc cycles and then being directed to new trades that might go up briefly or might not then requiring draw downs into capital, of which there has been a few.
The two ATR-TS combination do an excellent job at defining clearly trend start points and end points, where the objective trading strategy could be to allocate capital for an initial entry via Trade Master portfolio manager and pyramid and lighten 50% additional $ trades off the PD-SIROC cycles triggers as this is what the Siroc excels at, and there will be the SPA3 Trader signals to follow as a back up; volatility stop exits etc. (I find the 13:5 better for the above purpose). This approach might get the trader portfolio to be more of a medium to longer term trend system, and will be combined with the RSC Index indicator, and Money Flow indicator.
What ever system I create to adopt will need to work with Trade Master, so the additional 50% $ Pyramid and Lighten phases get reported correctly. The stop loss final exit taken for the initial capital amount if not already lightened out of when the short ATR-TS indicates resistance, and when the long term ATR-TS triggers and MACD clearly loses momentum identifying end of primary trend conditions.
The objective strategy is to not completely exit the longer 'in the zone' trending stocks but allow the trade to run and utilise the trend to trade additional 50% dollar amounts if the stock displays in trend volatility enough for cycle trading off the PD-SIROC.
Problems with BCFL introduced indicators;
There are chart crashes when overlaying the SIROC signals for Main crossing Signal line, which I suspect are completely crashing BC, or are produce empty charts since introducing them.
Although not directly related to the above chart crashes you mentioned earlier about the code Inputs, so I would like to swap out the input lines with non inputs; with the following code is this possible to do as this is the preferred ATR-TS? (14, 4.5 being the inputs).
atrper:=Input("ATR period :",1,100,14);
atrfact:=Input("ATR multiplication :",1,10,4.5);
loss:=atrfact*ATR(atrper);
ATRTS_L :=
If(C>PREV AND Ref(C,-1)>PREV,
Max(PREV,C-loss),
If(C<PREV AND Ref(C,-1)<PREV,
Min(PREV,C+loss),
If(C>PREV,C-loss,C+loss)));
ATRTS_L;
I did try to do this myself but just messed the code up!
Thanks.
[EDIT]
In fact the crashes were related to the ATRTS chart signal alert symbol where I renamed the code output but didn't rename the fmlvar reference. Could there be some kind of error warning about this?
Also maybe a script list page that lists all the BCFL indicators, highlights and ribbons to be able to identify and remove non working BCFL coded entries?
Just a thought, would help error trouble shooting.