- Joined
- 8 June 2008
- Posts
- 13,229
- Reactions
- 19,520
Sorry just noticed already there suggestion..Yes just do a
Buy = Buy AND Open<=BuyStopPrice
// buy on the next bar
Buy = Ref(MapBuyCondition, -1);
BuyStopPrice = Ref( Close, -1) * 1.03; // 1.03 is 3 %
// now we check if buystop was hit
Buy = (MapBuyCondition AND PriceF AND Index_UP) AND Open <= BuyStopPrice; // Was H is code and changed to Open
// if Open price is above the buystop, then we use Open for entry
BuyPrice = Max( Open, BuyStopPrice );
BuyPrice = Max( Open, BuyStopPrice ) is wrong.you buy at the open in that case as it is within range to remain an active buyI get no change using the following:
Code:// buy on the next bar Buy = Ref(MapBuyCondition, -1); BuyStopPrice = Ref( Close, -1) * 1.03; // 1.03 is 3 % // now we check if buystop was hit Buy = (MapBuyCondition AND PriceF AND Index_UP) AND Open <= BuyStopPrice; // Was H is code and changed to Open // if Open price is above the buystop, then we use Open for entry BuyPrice = Max( Open, BuyStopPrice );
Something to look into.
Buy = Ref(MapBuyConditionFull, -1);
BuyStopPrice = Ref( Close, -1) * 1.03; // 1.03 is 3 %
// now we check if buystop was hit
Buy = Buy AND Open <= BuyStopPrice; // Was H is code and changed to Open
// if Open price is above the buystop, then we use Open for entry
BuyPrice = Max( Open, BuyStopPrice );
BuyPrice = Max( Open, BuyStopPrice ) is wrong.you buy at the open in that case as it is within range to remain an active buy
I'm pretty sure you need to use a limit order to get into the opening auction and get the true open as per your tests. If you use a Market order you will get the first available transaction after the market opens, not during the auction which decides the true open.
Why not just place a limit buy 10% above previous close? That's what i do for both buy and sells, always get the open unless a big gap.
I like that idea mate. I can't remember who said it, but I remember 'market orders are for chumps', lol.
But a word of warning always rout the orders to ASX exchange, CHI-x doesn't use the opening auction i don't think. Once i was just using Smart routing (on IB) and something went wrong with the ASX exchange i think or with the stocks opening time and i got filled at my LMT price when selling (10% below previous close) only happened once tho..
good to know!
With the MAP strat, it's on CMC. My HappyCat strat is with IB. I actually like IB and tempted to switch everything over to IB. I like the variety of algo orders on offer and I get the feeling that order fills are just smoother with IB. Eventually I'll move to the US markets too (i'm tempted with Radge's long/short daily system actually), and IB is good for that.
I'm trading a similar style to the daily in the US but a few differences, returns are nice and smooth. Hopefully live trading matches backtests in the long run.
I'm also split between both CMC and IB. Think IB allows you to, for example, place 3 sell orders and 3 buy order on the same day and have them go off. With CMC, if your already full invested, it won't accept 3 sells and 3 buys (buys would have to be placed after sells have executed).
Mentionned before but some brokers wl not allow that, even the 3pc around close price is sometimes rejected by bell direct in my caseI'm pretty sure you need to use a limit order to get into the opening auction and get the true open as per your tests. If you use a Market order you will get the first available transaction after the market opens, not during the auction which decides the true open.
Why not just place a limit buy 10% above previous close? That's what i do for both buy and sells, always get the open unless a big gap.
similar style to radge's long/short daily? i do like the synergy of that combo that radge has. would need to ensure i have available margin for it though. it's tempting. would like to hear about yours.
I don't know the rues of the strat that he sells and no doubt its probably better than mine. I'm not using leverage either, 5 longs and 5 shorts @ 10% of account each. I built it in RT, i also tweaked my MR in RT after moving across from Amibroker
You're right though about his diversification of strategy types, i'm following a similar path after getting hit of a 25% DD in March. I realized i need more strategies. I'm running 3 different ones now
Diversification can also come in different markets. If you had the capital, no reason why you couldn't trade in the europe market too. Will be a long time until I have the capital to even think of going outside of Aus or US, lol.
That's the issue isn't it, too many ideas not enough $$ lol. I am maxed out at 3 strategies atm
1 weekly trend on asx, 1 asx MR, 1 US short term.
Hopefully by the end of the year i'll be able to introduce a US momentum
I haven't even looked into shorting on the ASX liquidity on the long side can be bad enough for short term systems
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?