NexusFi: Find Your Edge


Home Menu

 





abort startegy


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ssber with 3 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 Bimi with 1 posts (0 thanks)
    1. trending_up 1,630 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

abort startegy

(login for full post details)
  #1 (permalink)
 ssber 
Mallorca, Spain.
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 40 since Apr 2012
Thanks Given: 45
Thanks Received: 30

Hi,

this is really simple question, but I can't find the answer:

Is there a way to abrort a strategy, something like "return","exit ","endsub" or whatever.

Is the only way not having to write a million if then else.

Thanks.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
Volume profile TradeStation
EasyLanguage Programming
ISO Equity Curve Indicator
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
GFIs1 1 DAX trade per day journal
28 thanks
Supertradersams Thread Journal on NQ/MNQ
26 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
12 thanks
Deaddogs Stock Trading
11 thanks

(login for full post details)
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,823
Thanks Received: 4,629


Simply use a boolean, which will be set to false when you want to stop the strategy.
Not a million of if needed.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
(login for full post details)
  #4 (permalink)
 ssber 
Mallorca, Spain.
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 40 since Apr 2012
Thanks Given: 45
Thanks Received: 30

hi, I know I can do this, I was only wondering if there was a return . bye

Started this thread Reply With Quote
(login for full post details)
  #5 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58


ssber View Post
hi, I know I can do this, I was only wondering if there was a return . bye

why don't you just look up the keywords dictionary for "return"?

Reply With Quote
(login for full post details)
  #6 (permalink)
 ssber 
Mallorca, Spain.
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 40 since Apr 2012
Thanks Given: 45
Thanks Received: 30


Bimi View Post
why don't you just look up the keywords dictionary for "return"?

I did.

Started this thread Reply With Quote





Last Updated on November 22, 2012


© 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