Quote from jack hershey:
We are not coding on TS. If you think so , too bad.
As much fun as it is, and Trader666 did about the same for his stunning work, switching to a non futures index (a Basket) and switching the fractal to a slow one, may cause excess profits to accrue.
Also minor point. The coding on indicators is different in a couple of ways from using the SCT based on P and V.
In the cash cow we do not use price but substitute indicators. My bet is that you did not use indicators either to make all those great profits.
Have fun everyone.
You really are loopy, Jack. Your whole script is on et or wl4.wealth-lab.com. Everything you ever taught, right down to the formulas, with your beloved MACD and STOCH. .SPX data in wl is the reason Spydertrader could make your ideas work. And they work fine from that script.
Now, won't you actually tell us the formulas? Or continue with your bullshit? 10k to 1 mil? Not with that script, and certainly not under 1 year.
var bar : integer;
var mo1, mo2, mo3, mo4, mo5, retrace, F, count, lastlowbar, X, P, cyclelength, days, days1, days2, days3, days4, days5, RankSignal : integer;
var BarTotal, B1a, B2a, B3a, B4a, B5a, B6a, B7a, B8a, B9a, B10a, N, PV, du, du1, du2, du3, du4, du5, gain, gain1, gain2, gain3, gain4, gain5, averagegain : float;
var volpane : integer = Createpane(120, false, true);
var curVol : float = VOLUME(Barcount-1);
var preVol : float = VOLUME(Barcount-2);
var val1 : integer = 5;
var val2 : integer = 13;
var val3 : integer = 6;
var MHistMACD : integer = SubtractSeries( MACDExSeries( #Close, val1, val2 ), EMASeries( MACDExSeries( #Close, val1, val2 ), val3 ) );
var macdh : integer = MultiplySeriesValue (MHistMACD, 3);
var macdhistPane : integer = CreatePane(100, false, true);
var stochPane : integer = CreatePane(100, false, false);
var stochPane2 : integer = CreatePane(100, false, false);
var VolSDPane : integer = CreatePane(100, false, false);
var PriceSDPane : integer = CreatePane(100, false, false);
var HersheyStochK2 : integer = StochDSeries(5, 2);
var HersheyStochD2 : integer = SMASeries(HersheyStochK2, 3);
var HersheyStochK : integer = StochDSeries(14, 1);
var HersheyStochD : integer = SMASeries(HersheyStochK, 3);
var StopOffset, StopOffsetPercent : float;
var Slope: float = (Period - 1) * LinearRegSlope(BarCount - 1, #Average, Period);
var Intercept: float = LinearReg(BarCount - 1, #Average, Period);
var Width: float = 2 * StdError(BarCount - 1, #Average, Period);
{Trading Rules}
//InstallTimeBasedExit( 8 );
var symbol:string;
InstallTrailingStop(1,40);
for Bar := 5 to BarCount - 1 do
begin
//ApplyAutostops(Bar);
var SMADiff : float =(SMA( bar, #close , 20 ) - SMA( bar - 1, #close, 20 ));
var MACDday : integer = MACDExSeries( #Close, val1, val2 );
if (bar>lbar+2) and (gettime(bar)<1545) then begin
if not (lastpositionactive) and (crossovervalue(bar,HersheyStochK,50) ) and (@#Volume[bar-1]>20000) then begin
{ if (@MACDH[bar]>0) then }setprimaryseries('SSO');symbol:='SSO';buyatmarket(Bar+1,'Jacks friend scott d says to buy here');restoreprimaryseries;
end;
if not (lastpositionactive) and (crossundervalue(Bar,HersheyStochK,50)) and (@#Volume[bar-1]>20000) then begin
{ if (@MACDH[bar]<0) then }setprimaryseries('SDS');symbol:='SDS';buyatmarket(Bar+1,'Jacks friend scott d says to sellshort here');restoreprimaryseries;
end;
if (lastpositionactive) and (symbol='SSO') and (@HersheyStochK[bar]<@HersheyStochD[bar]) and (crossundervalue(Bar,HersheyStochK,80)) then begin
sellatmarket(Bar+1,LastPosition,'');
end;
if (Lastpositionactive) and (symbol='SDS') and (@HersheyStochK[bar]>@HersheyStochD[bar]) and (crossovervalue(Bar,HersheyStochK,20)) then begin
sellatmarket(Bar+1,lastposition,'');
end;
if (positionlong(lastposition)) and (abs(@HersheyStochD[bar])<1.4) then begin sellatmarket(Bar+1,LastPosition,''); end;
if (positionshort(lastposition)) and (abs(@HersheyStochD[bar])<1.4) then begin coveratmarket(Bar+1,LastPosition,''); end;
end;
if lastbar(bar) then begin
lbar:=bar;
end;
end;
StochD, STochk 14,1,3 all the proverbial variables, with a MACD 5,2,3. Anymore indicators is just ridiculous.
I'm pretty sure you can't make it more complicated than this.
It's only in your head, Jack, when this script was the best anyone could do, as Scottd admitted he could never turn it profitable, and never will. Neither will you.
Your script as I have it annualizes at 200%, and you'd be a fucking idiot to sit there and say that you do better than that. The 10k to 1 mil comment just by itself would be one thing, if we could verify how long that lasts. At present, I could only see 10k to 30k at best, and -50% at worst.
