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 developp a strategy that take a position for all valid signal in the same direction. Each entry as its own profit target and stop loss. Since under some conditions, I have to modify stop value, I need a way to reference them because each individualy entry may have a different stops
Now, how do I manage these entrys?
Easylanguage does not permit to attribute a string variable to a Buy or sell position name. Each entry as the same name
Buy "Position_long_1" 100 share at market.
In this exemple, "Position_long_1" as to be predetermine in the script, can't be a variable. My desire is to differentiate them using a counter
Buy "Position_long_1" 10000 share at market.
...
...
Buy "Position_long_2" 100 share at market.
Sell "Position_long_1" 10000 share at market.
...
...
Sell "Position_long_2" 100 share at market.
Hope I'm clear enough
Martin
Can you help answer these questions from other members on NexusFi?