CanOz
Home runs feel good, but base hits pay bills!
- Joined
- 11 July 2006
- Posts
- 11,543
- Reactions
- 519
No probs, hth
There is an AFL function for an inside bar, might make the code a bit tidier.
http://www.amibroker.com/guide/afl/afl_view.php?id=74
(OT: enjoying your posts on your futures trading CanOz, too busy to post much myself but enjoying reading what you're up to )
Thanks for that Captain...unfortunately i'm so out of practice from what was bad coding i can't even get this right....
All i want to do is add the code to add another inside day....so two inside days....
Here is the original, could you set me right please?
Code:
Cond1 = Close > Ref( Close, -1 );
Cond2 = High < Ref( High, -1 ) AND Low > Ref( Low, -1 );
Cond3 = Close < Ref( Close, -1 );
Edit: I'm looking for balance within balance, so as long as the last two days are within the range of the bar 3 days ago then I'm interested...