Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I have coded the opening range breakout(quite a few hedge funds actually traded this strategies to make money in ES), but somehow the signals are not being generated correctly. Can someone please point me to the right direction ? The codes work on TS2000i but after importing into MC, it doesn't work anymore. ESL expert. please help!! many thanks.
IF Close >= DailyOpen + (PreTrueRange * orb) THEN BEGIN
{**********************************************************}
IF MarketPosition = -1 THEN Buy To Cover ("EXIT SHORT") THIS BAR ON CLOSE;
END;
{**********************************************************}
if MarketPosition = 0 THEN BEGIN;
BUY ("LONG +") 4 CONTRACTS NEXT BAR ON CLOSE;
end;
{**********************************************************}
IF MarketPosition = 1 THEN BEGIN
Alert("Still Long");
END;
END;
{*********************************************************************************************************}
{* SELL SIGNALS ARE HERE*}
IF Close <= DailyOpen - (PreTrueRange * orb) THEN BEGIN
I work with TradeStation with EasyLanguage. I took your code and it would not compile. There was also a few things about your code that made no sense to me. I made a few modifications and it now works under TradeStation 8.8. You might have to change the times since they are based on my time zone here in Chicago.
You should be able to take this to MC and compile it. Let me know if you have any questions.
Luckily I have found a couple of indicators here for Tradestation that would be useful. When the code is installed into the indicator list through Easylanguage the end result is that it is grayed out and says next to it "not verified". Can someone tell what step I'm missing on installing this code into Tradestation? I have searched the forums for the answer but just not searching correctly or???.
I didn't check the code below, but it compiles now. It was missing one semicolon, a comma, an input and I changed
the decimals variable (which I believe was coming from a function before).
This is my first year with Tradestation but I have successfully installed other indicators before trying these. As shown below all three of the indicators that I have attempted to install from Mikes will not verify for some reason. This includes what you posted above. In the screenshot below yours is the one labeled OpenRange2.
the code you posted is for a strategy and contains reserved words that Tradestation doesn't allow in indicators. From your screenshot it appears that you created an indicator and this won't verify and give you the errors you receive.
Try creating a new strategy and paste the code in there. This should work for you.
Sorry but the result was the same creating these as strategies. Obviously I am doing something wrong but just have no idea what it is. If someone else is using these perhaps they could share the actual Tradestation workspace? This could allow the chance to see their functioning indicators and compare them with mine that will not verify.