PureBytes Links
Trading Reference Links
|
First try Net Profit. It returns closed net profit so if it changes
you have your answer. You could set MP=marketposition(0); then if
MP[1]is 1 or -1 or <>0 and MP[0]=0 then you test Net Profit for a
result. Haven't tried it but I've used Net Profit a lot and used
marketposition(0) a lot.
Best regards,
Jimmy Snowden
mailto:jhsnowden@xxxxxxx
Tuesday, August 19, 2003, 9:49:02 AM, you wrote:
Sac> I previously asked:
Sac> "Is there a way to write a system that only takes the next signal if the last one is (or would have been) profitable? I don't know how to reference a trade that would have occurred but didn't
Sac> b/c the prev trade was negative...
Sac> TIA,
Sac> Seth"
Sac> Having not heard any responses (from this very responsive, helpful list), I am guessing it is not a simple thing to do... I had a thought that might make it simpler, however, my EL skills leave
Sac> much to be desired... Would it be possible to adjust the trade size based on the profitability of the previous trade? i.e. Trade 100 contracts if the previous trade was profitable, trade 1
Sac> contract if the previous trade was a loser?
Sac> Thanks again,
Sac> Seth
|