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'm writing my first signal in Multicharts Easylanguage. All parameters to enter in the loop are ok and are reflected in the print command
I'm suspecting the stop command.
I trully accept the fact that it is difficult to debug only a portion of the code, but who knows if I make a big apparent mistake.
Just looking at the code it seems yor stop order are not being placed on each bar. You have your stop order within the block defined by a flat position: market position = 0
When you enter a trade, market position is not zero, thus yor stop is not placed except for the bar when your order is entered.