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

TS4 vs TS6



PureBytes Links

Trading Reference Links

I have been trying to figure out some EL code for Money Management Stops
after I enter a trade.
Gary Fritz has been kind enough to help me to this point, but we are both
stumped.
I learned to use "at$ Low", to pinpoint the Entry Bar.
But TS6 forces me to include the words "Next Bar" instead of with TS4 you
could just say, "Sell from Entry ("LngEntry") at$ Low - MML stop;"
Of course, TS6 executes the trade on the "Next Bar" just like instructed.
Which is exactly what I DON'T want.
1st question: Can anybody help with this?
2nd question: Is there somewhere within the Help part of TS6 where I can go
to see what code for TS4 is equal to what code for TS6?
3rd question: Is there somewhere in TS6 where there's a list of handy bits
of code like "at$ Low" I could reference?
Many thanks in advance.

HTP

Here is the situation with a snippet of code:

Upon Long Enty, I want to set my initial Stop Loss a couple of pts below the
Low of the entry bar, (Call it Point A) and keep it there until I either
Stop & Reverse or get stopped out for a loss at Point A. (Of course, this is
true in reverse for going Short.)  Here is a sample of EL code:

***IF MP[1] = 0 and MP <> 0 then begin
      END;

IF CurrentBar > 1 then begin
 IF Time > 830 and Time <= 1500 then begin
  IF Value1 > BZone then BUY("LngEntry") Next Bar at HIGH + Factor Stop;
   IF MP = 1 then Sell from Entry
  IF Value1 < SZone then SELL SHORT("ShtEntry") Next Bar at LOW - Factor
Stop;
   IF MP = -1 then Buy to cover from Entry ("ShtEntry") Next Bar at$ High +
MMS stop;
 END;
END;