Hi Jock, You miss out this line I wrote: "At the last 5-min bar of the day, do the following: Use a loop to move the ... " Note: I...
Hi Jock, Okay, I was confused by your earlier objective of issuing an order on the last 5-min bar of the day to be good for the first bar of...
Dear Jock, You will need to take care of the initial values of DATR when the number of days is less than 20. Something like this: Var:...
Hi Jock, It should not take long. You can try it out. If (marketposition = 0 and entrydate(1) < date) then... This is a combination of two...
Hi Jock, Use Array. Go to the TradeStation help index tab and type in the word, array. There are three listings. Read them to get an...
Well, if we get ourselves to understand how the CFTC get the work done, it is really not that difficult to understand why. As I have tried to...
The COT reports are released on Friday. Where Friday is a holiday, it will be released on the next working day. But which day it is released is...
It will certainly help very much if you get familiar with what is available in TS2000i. When in the TS2000i PowerEditor, look for the toolbar...
I_OpenEquity certainly is in TS2000i. And if I remember correctly, it is also in the earlier TS4.
Hi RoughTrader, Jock will not be able to use the IntraBarOrderGeneration attribute in his TS 2000i. Also no SessionStartTime(x,x). These are...
Re my earlier post: Sorry, that should be: MOC will not work.
Re what I said earlier: I wasn't very clear here. I mean any order to be executed on the Close of the last intra-day bar of the day (instead...
I am happy for you. The time you spend on finding your (perfect?) code solution, which is independent on fixed close time, that overcome a...
Hi spinoza, Step (1) and (2) will show why you will not get a RSI value of 0 even when all 5 days are DOWN close (for 5-day RSI). Similar you...
Hi spinoza, Something not quite right with the formula you have. From page 65 of J. Welles Wilders, Jr's book: New Concepts in Technical...
This will not make the EZL code universal for all symbols. Since Jock is testing on 5-min bars, it will not work on symbols that close at 4:15...
Re: "If Time = Sess1EndTime Then ExitLong At Open;" Yes, I overlooked the half-day part. I think the holiday should not be a problem because...
The line "If Date <> Date[1] then ExitLong at Open;" only evalutes on the bar where the date has changed. This means the first bar of the new...
Hi Jock, There is already an Average True Range indicator in TradeStation. It uses the AvgTrueRange function. When you apply this (and any...
I have seen this many times in my 25 years in the market. Check the first Friday of every month when the employment data are released and if they...
Separate names with a comma.