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 need some help with EasyLanguage. I am designing a system that will go LONG on a pullback when the CURRENT price crosses the 10 day EMA. My question is this: I can not find a function for CURRENT PRICE. I know about current bid and ask, but is there anyway I put current price instead of the bid and ask? For example: $AMZN is up 30 points in premarket. I wait for a pullback and go long only when the CURRENT price crosses the 10 day EMA on the 30minute chart. How do I code current price into the system? I hope this question made sense.
Thanks in advance!
Frankie.
Can you help answer these questions from other members on NexusFi?
Use "close" or "c" for short. That will be the current closing price of your thirty-minute bar. If you use intrabar order generation, it will be the latest tick price, though intrabar order generation may cause many more trades.
Further, you may want to use "c crosses above ema" for your trigger and not "c>ema", as "c crosses above ema" is an event while "c>ema" is a state.
I have attached a screenshot of the result of this code.
Why is the buy order not getting executed at Point A in the screenshot? The point when the current price hits the EMA? Isn't that the point of IntrabarOrderGeneration function?