NexusFi: Find Your Edge


Home Menu

 





Global $ value stoploss to exit all positions at market required please.


Discussion in MultiCharts

Updated
    1. trending_up 3,094 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
PositiveDeviant's Avatar
 PositiveDeviant 
United Kingdom
 
Experience: Intermediate
Platform: Multicharts
Trading: Dow
Posts: 587 since Nov 2010
Thanks Given: 257
Thanks Received: 256

I need an automatic stoploss for all positions eg if total loss on all positions is $200 then all are closed at market. How can I achieve this?

Ideally if this is an easylanguage solution I would be able to reset the $ amount to exit all positions.

I would be grateful for any help.

Thanks.

PD


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
No book, only a stair: journaling fills where price move …
Cryptocurrency
EA
Platforms and Indicators
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Datafeed for Atas
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
BERN ALGOS algo trading journal
3 thanks
NexusFi site changelog and issues/problem reporting
2 thanks
TopStep Trader disappointment
2 thanks
Want your NinjaTrader indicator created, free?
1 thanks
Running trading strategies on a VPS
1 thanks
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 691

Global variables can be used for this. But if you want it real-time across multiple charts (instead of keeping track of the daily loss after closing a trade), I'm not sure how good it will work in practice if say a dozen charts all try to update the same global variable at the exact same time.

But the good thing is that Global Variables are EasyLanguage and included by default, so it's easy to test to see whether or not this works.


Reply With Quote
Thanked by:
  #3 (permalink)
 
PositiveDeviant's Avatar
 PositiveDeviant 
United Kingdom
 
Experience: Intermediate
Platform: Multicharts
Trading: Dow
Posts: 587 since Nov 2010
Thanks Given: 257
Thanks Received: 256


Thanks for your response Jura but I'm not conversant with Easy-language. I was thinking someone may have been able to point me to some code available somewhere...

I only need it to monitor 2 positions at the same time.


"The primary thing required to obtain what you want from life, is simply the will to pursue it, and the faith to believe it is possible." - Author Unknown

"The ability to maintain discipline and stick to the rules is the hallmark of the experienced successful trader" - Curtis Faith
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (permalink)
aspiringmiliner
Swattle, WA
 
Posts: 6 since Dec 2021
Thanks Given: 0
Thanks Received: 1

@Jura could you please elaborate on how to accomplish this on EasyLanguage?

Sent using the NexusFi mobile app


Reply With Quote




Last Updated on December 25, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts