- Joined
- 12 January 2008
- Posts
- 7,326
- Reactions
- 18,272
Howard this uses 500 positions with a $1,000,000 account, i dont think that is very practical in the real world. Is that right?
Correct!
As per your code:-
BuyRule1 = C > MA(C, 100);
BuyRule2 = C < MA(C, 5);
BuyRule3 = Sum(L < Ref(L, -1), 3) == 3;
So Buy on the next bar after the above 3 Buy rules are met on the proviso that
the price on entry has fallen a further ATR(10) from the previous days closing price.
Providing "SetTradeDelays" for the Buy is set to zero bars delay then this code reflects the system rule:-
BuyPrice = Min(O,Ref(C-ATR(10)*0.5,-1));
Ask someone else if you don't believe me however, trust me Wysiwyg when I say I'm only trying to help as you are the one that will benefit from the exercise.
Cheers,
Rob
I am going to post one buy/sell trade for the following stocks that met the simple system rules. Limit order buy only.
1. TWE = buy price $9.735
2. STO = buy price $4.16
3. PRY = buy price $3.64
4. MIN = buy price $8.135
5. LNK = buy price $8.14
6. CAR = buy price $12.11
7. BPT = buy price $0.62
Won't be journalising, thank you.If you're going to journal some buy signals then please consider starting your own thread
"Wysiwyg's ASX Mean Reversion journal", rather than take this thread way off topic.
So today the trades that met the criteria. Will post the exit price (next day open price) of these 4 when their c > ref(c, -1). STO gets sold on Monday open price.
1. TWE = no buy
2. STO = buy at $4.16
3. PRY = no buy
4. MIN = buy at $8.135
5. LNK = buy at $8.14
6. CAR = no buy
7. BPT = buy at $0.62
If you wanted you can buy Radges turnkey code for it on his site too..
I ran the exploration yesterday after close on XKO. Check the time and date of posting was this morning 1 a.m. ish.I think something is wrong here. We entered STO, PRY and MIN yesterday. They all made their 3rd lower low on Wednesday, not yesterday. Check your code (or am I wrong ??). Also, my trade list is much bigger than yours (I have no filters for liquidity turned on though).
Or code it yourself for free.
If the rule is C-0.5*atr how can the buyprice be above or equal yesterdays close?
Just saying, it will be correct and for people who can't code it up, if they were interested
i've got the buy at $4.16
On thursday the price didn't reach the limit order
How come you took the trade a day later than your signal? Also you listed 7 trades in this thread but your scan shows 23 signals?
I ran the exploration yesterday after close on XKO. Check the time and date of posting was this morning 1 a.m. ish.
On the 15th I have a signal at a close (close=4.430). So the limit order on the 16th is for 4.430 - 0.5*0.18 = 4.330 (rounding for tick size). Not being defensive, what have I done wrong? Maybe I need to fix my code? I seem to be a day early...
So it looks like you agree with me wysiwyg. How come you took the trade a day later than your signal? Also you listed 7 trades in this thread but your scan shows 23 signals?
You replied to my post where I explained that I ran the exploration yesterday which was the 16th.
Okay I will show the sequence I took.So your code didn't tell you that you were already in the trade. Therefore STO, PRY and MIN aren't real trades because you would have taken them a day earlier if you were trading real time...
It doesn't matter when you ran the exploration. Your code didn't tell you that you were already in the trade, a mistake in my opinion. Therefore STO, PRY and MIN aren't real trades because you would have taken them a day earlier if you were trading real time...
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?