NexusFi: Find Your Edge


Home Menu

 





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


Discussion in MultiCharts

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




 
Search this Thread

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

  #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?
The choice of instruments to trade
Psychology and Money Management
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
My NQ Trading Journal
21 thanks
Diary of a simple price action trader
20 thanks
Just another trading journal: PA, Wyckoff & Trends
17 thanks
Tao te Trade: way of the WLD
13 thanks
HumbleTraders next chapter
9 thanks
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690

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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts