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 a strategy trading the TF after hours, after 16:15 est, and it won't let it put in a market order. How would I code it to a limit at ask order? I'm not a programer.
Can you help answer these questions from other members on NexusFi?
Thanks, I can't get it to compile. Here is what I have:
// Checks if the 5 period SMA is below the 50 period SMA on both the 5 and 15 minute time frames
if (SMA(BarsArray[1], 5)[0] < SMA(BarsArray[1], 50)[0] && SMA(BarsArray[2], 5)[0] < SMA(BarsArray[2], 50)[0])
if (CrossBelow(SMA(5), SMA(50), 1))
EnterShortLimit(GetCurrentAsk) ( )); (1, "SMA");
}
I have tried just EnterShortLimit (GetCurrentAsk) ()); , but this doesn't work either.
and EnterLongLimit(GetCurrentAsk)(0 ));
EnterShort(1, "SMA"); works but only as market order.