CanOz
Home runs feel good, but base hits pay bills!
- Joined
- 11 July 2006
- Posts
- 11,543
- Reactions
- 519
Can,
Have you been able to understand and convert the metastock code?
Weird uses a good style and his code is easy to follow.
"LE" = Long Entry
Substitute "Buy =" in AB
"ShE" = Short Entry
Substitute "Short =" in AB
From Doc's code:
"(2*Ref(Mov(V,13,E),-1))" converts to "(2*Ref(EMA(V,13),-1))"
"Ref(Mov(H-L,13,E),-1)" converts to "Ref(EMA(H-L,13),-1)"
It usually straightforward to convert most Metastock to AB or vice versa.
Ran some tests using weird and doc's code last night. Picked up a couple of illiquid stocks using the volume test of doc's. Doc made a comment related to the multiplier when he posted the code.
Let us know when you are ready Can and we can do some more work on this exercise. Hope your Internet conenction gets sorted out. Raise any questions that you may have along the way, as you can see there is always someone around who can help out.
Cheers.
I actually thought that the MS code was easier to understand than AB, just on first glance.
Anyway i haven't had a chance to do a thing on this. I've got my AB setup on my lappy at work thru a flask disk (not perimitted to install programs on work PCs), but Premium Data won't install on the flash disk...so no i've got a whole new range of issues to deal with, AB and no data...nothings ever simple is it?
If someone can post some recent code efforts, i'll try and get some time to run some more tests tonite when i get home. I've got vacation days starting mid June that i'm dedicating to system development and learning, so if all else fails i may have to wait until then.
Cheers all, and thanks for the continued help and interest.