[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mystery Equation



PureBytes Links

Trading Reference Links

Hi,

I was wondering if someone could point out why my equation doesn't work
reliably. Its basically a money management stop where I take the greater
of 5 points or a fraction of the price. In this case 0.005.  Its being
applied to Index futures mostly. Unfortunately, when I run it, I often
find it exits at the wrong price relative to my entry. For example, if I
run it on a market that trades in 0.01 intervals and I set Min Move in
the Universe to 10 (as it quotes to 3 decimal places in Metastock
format) then it shows the trade exiting 0.05 away from price.  Clearly
it thinks that 5 points is greater than the fractional stop, which is
clearly incorrect as the instrument in this example is actually trading
at over 200.  Perhaps the formula is right and TS2000i us stuffing up,
as it seems to work ok on some markets but not others. Any guidance is
appreciated.

Regards,
Adrian

------------------------------------------------
Inputs:      VolStop(.005);

{Coding for entry}

SetStopContract;
SetStopLoss(MaxList(VolStop*Close*(BigPointValue/PriceScale)
*MinMove,5*(BigPointValue/PriceScale)*MinMove));

{Short Exit}