TradeStation Conversion

W

WBO4

New member
VIP
Hi everyone! I have some TradeStation code that I need converted to ThinkScript.

Code:
[LegacyColorValue = true];

Inputs: time1(0910), time2(0915)
time3(0920), time4(1215), time5(1220)
time6(1225);

if time =time1 or time = time2 or time = time3 then

begin

Plot(high, "5 min chart", yellow);
Plot2(low, "5 min chart,", yellow);

end;

if time= time4 or time = time5 or time =
time6 then

begin

Plot1(high, "5 min chart", red);
Plot2(low, "5 min chart", red);

end;

THANK YOU IN ADVANCE!!
 
BenTen

BenTen

Administrative
Staff
VIP
What does this indicator do? If you can tell us the functionality, maybe we can find an existing script that performs the same task?
 
W

WBO4

New member
VIP
What does this indicator do? If you can tell us the functionality, maybe we can find an existing script that performs the same task?

Great point. That's why you're in charge.
It is the three five minute bars beginning at 9:05 CT, and should get a buy or sell signal.
 
BenTen

BenTen

Administrative
Staff
VIP
@WBO4 How is the buy or sell signal generated or is it just based on time?
 
W

WBO4

New member
VIP
@BenTen It's the MEJT system by Tennant, and the trading system is explained in his book. The code is included in the book I purchased, and there are rules for using it, and one would have to purchase the book to understand the system.

I don't believe asking for help on the code violates the spirit of this Room, but please let me know if you feel differently! Thanks!
 

Similar threads

Top