With your best wishes, my 3 computers (I borrowed one from my hubby) have been working very diligently this morning.
1. One is running 4 strategies (3 YM and 1 ES) with trail.
i. ES is the only one that seems normal and no looping trades. It did 2 trades and both marginally profitable. It does have CalculateOnBarClose @false.
ii. 2 YM ones @false and one @true. All chopped a nice short ride into numerous trades. The 2 @false ones chopped it into 8 while the @true one made it into 4.
Well, I have no clue what's going on. Oh, even one of the 3 YM charts looked different from the other two. I may have overloaded my computer LOL!
2. One was running 2 strategies on ES and YM until 12:00 noon before Ninja got frozen and I had to close it .. sigh ..
3. With one I was doing Market Replay on the strategies with trail on early March data. Looping trades again and the worst one so far chopped a nice trade into 20 trades - gosh!
I will need to research more on how to have a trail code that will not cause choppy trades. Plus I will review my strategies again to locate any coding issues that may have caused it and not the trail code.
Dave, I am very grateful for your assistance. Will knock at your door when I need your advice. Thank you!!!!!
Hmm...then I'm afraid I'm out of ideas. There's obviously a conflict in the code but I'm truly no expert. With any luck, someone will download yours, as it's very good, and find it. So, I'll keep my fingers crossed for you.
.. knock .. knock .. Dave, need to pick your brains please (for my learning purpose).
For ES, I have the following:
For the enclosed chart, there's a long @1039. It went up to 1041 yet the trade was closed @1039.25 (a SL order). My understanding on the above code is SL to BE after a 4-tick move. Then SL will be adjusted 1 tick continuously as the trade is working before getting stopped out.
Instead, the trade was closed early (in my mind) and the system re-entered again at 1041!? If the trail code was working, shouldn't the trade be closed around 1040 and there would not be a re-entry?
Please help fixing my understanding! Thank you.
Last edited by wgreenie; March 11th, 2010 at 02:23 PM.
Reason: Make it easier to understand.
Your understanding is right on. That's exactly what it should have done. Did you have more than one position open at the time? Also, the reentry shouldn't have anything to do with the trail, but with your entry. Did you add FirstTickOfBar and set everything back a bar on this one too? I couldn't tell if you added this strat to each instrument or created different ones for each.
hi , i downloaded the strategy and inported the file with success, i am connected and charttrader is disabled but still my strategy icon is diabled same thing when i click right on chart ,strategy is greyed out .am i doing something wrong. thanks for the help