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)
Can anyone tell me why this code only opens long positions and doesn't open on the next bar after a signal. It also open a trade as soon as i start the EA regardless of when the signal was i.e x bars ago
Thank you
Can you help answer these questions from other members on NexusFi?
I have pulled bits of code from other EAs as I am trying to write my own, and failing. Any assistance on how to correct the issue would be greatly appreciated.
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518
I assumed it was C# Ninja code because your info says you use Ninja as your platform. But I now see this thread is in the Metatrader sub-forum.
I only do Ninja stuff and very badly at that.....lol
Maybe if you post the file someone might have a better chance of helping out and maybe if you can have a more concrete question narrowed down to a piece of code within the whole....????
...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Here you can see a long position open a few bars after the short signal, should have been a short trade. Still no buy orders. No idea whats happening , can anyone help.
Have a missed something in the code relating to my order management.