Forum Replies Created
-
AuthorPosts
-
ScottMcNabParticipant
Hi Craig,
Am I getting warmer ?SetOption(“maxopenpositions”,100);
SetPositionSize(1,spsPercentOfEquity);
SetOption(“CommissionMode”,1);
SetOption(“CommissionAmount”,0.2);
SetOption( “allowsamebarexit”, False) ;
SetOption(“InitialEquity”,100000);
PortEquity = Foreign(“~~~EQUITY”, “C” );
NoShares = PortEquity*.01/Close;Buy = Buy1
AND MA(Volume,100)>1000*NoShares
AND IsIndexConstituent(“$SP1500”);Thanks
ScottScottMcNabParticipantThanks Craig….Is the following use of the term equity referring to portfolio or single symbol please ? I have (incorrectly ?) used it believing it to be the portfolio..
SetPositionSize(2,spsPercentOfEquity);The actual code I have been using is:
SetOption(“maxopenpositions”,50);
a = SetPositionSize(2,spsPercentOfEquity);
SetOption(“CommissionMode”,1);
SetOption(“CommissionAmount”,0.2);
SetOption( “allowsamebarexit”, False) ;
SetOption(“InitialEquity”,100000);
shares a*.02)/Close;Buy = Buy1
AND IsIndexConstituent(“$SP1500”)
AND MA(Volume,100)>2000*shares;Sorry Nick, I did not grasp the bit about n=10…apologies
Many thanks for the assistance.
ScottScottMcNabParticipantHi,
I have thought about the issue of liquidity filters previously and have started using the following (using fixed position size of 5% in keeping with thread)numbershares = equity()*0.05/close;
buy = (buy conditions)
AND volume>2000*numbershares
AND MA(volume,100)>2000*numbershares;I was going to ask about this when I was further into the course but on reading the post I thought it may be worth asking now. The value of 2000 is completely arbitrary and I have no idea whether it is appropriate. I suspect 100*numbershares is going to be unrealistic as owning 1% of the turnover would skew the buy and sell price making the backtest unrealistic. The aim is to obviate the effect in inflation by removing price from the calculation but this approach may have a whole lot of other issues that I am unaware of.
Cheers
ScottScottMcNabParticipantHi All,
My trading experiences have been limited and sporadic. I bought ASX options for approximately a year back in 2006 (I think). I used Metastock to download data after 3pm and tried to trade pullbacks within the overall trend by placing the order just before the close (after first using some system or other to check the pricing of the option) . This was done by phone and then relied on sms messages (seemed high tech at the time) the following day to inform me when price levels (good or bad) were hit. I was working full-time (on teeth…enough said) and often struggled to get to the phone. My stomach would churn as I heard my phone “ding” every few minutes sometimes fearing the worst but unable to stop what I was doing and check the messages. At the end of the year, I had made almost nothing and suspect I was lucky to get away with that…trading with the trend might have saved me.
From there it was, of course, a tilt at day trading (cfd’s this time with IG) but without any real approach other than using Stoch and MAs to again try and re-enter in the direction of the trend following a pullback. My trading was then shelved with the arrival of children (three beautiful girls) and another uni degree (mid-life crisis….should have just bought a convertible) but I continued to derive enjoyment from reading books on trading (the current being “Stocks on the Move” by Andreas Clenow…my limited coding and rusty statistics meant I haven’t been able to test it…I can’t get past the R-squared for stock ranking but that is a post for another time..perhaps at the end of the course). I downloaded Amibroker about six months ago and have written some very basic systems. This is a reflection of my lack of coding ability than any philosophical quest for robustness.
Currently, my trading level is probably best encapsulated by the statement “A little knowledge is dangerous”. I have found many errors in the systems I have designed to date (damn zigzag indicator) and suspect more remain. When I found out about Nick’s Mentor Course the timing seemed too good to pass up even though I am working 5 days full-time and weekends part time. I spend at least an hour a night either writing (crappy) systems or reading trading books simply for enjoyment so I plan to better utilize that time with the Mentor Course…..that is, as soon as I get back from Noosa where I am relaxing (?) with the kids before the school year kicks off again. I am only up to module 6 so I better get cracking.
Regards
Scott -
AuthorPosts