NexusFi: Find Your Edge


Home Menu

 





2 strategies and 2 types of stops managements... How to?


Discussion in EasyLanguage Programming

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




 
Search this Thread

2 strategies and 2 types of stops managements... How to?

  #1 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Hello

Another big interogation for me with EasyLanguage

I have developped a system that include two strategies. Each one as its one stop management. How could I differentiate them so that their appropriate orders being modified.

EX: Entry_Type1 move stop to the low of the bar
Entry_Type2 If channel hit move stop to the low of the bar

In any moment, I could have more than one positions running. Since each of them had id reason to be in ( setup), I need to manage them according to their respective rules.

Thanks to and but a special one to Big Mike.

Martin

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Strategy stop orders partially filled
EasyLanguage Programming
Quantum physics & Trading dynamics
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
  #3 (permalink)
 MooreTech 
Orlando, Florida
 
Experience: Advanced
Platform: NinjaTrader, TradeStation, MultiCharts, eSignal, MetaTrader
Trading: ES
Posts: 57 since Aug 2010
Thanks Given: 6
Thanks Received: 73


I believe you are looking for "from entry". See the following example.

 
Code
                            
buy ("LE"next bar at highest(h,20stop;
sell short ("SE"next bar at lowest(l,20stop;

sell from entry ("LE"next bar at lowest(l,10stop;
buytocover from entry ("SE"next bar at highest(h,10stop

Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


MooreTech View Post
I believe you are looking for "from entry". See the following example.

 
Code
                            
buy ("LE"next bar at highest(h,20stop;
sell short ("SE"next bar at lowest(l,20stop;
 
sell from entry ("LE"next bar at lowest(l,10stop;
buytocover from entry ("SE"next bar at highest(h,10stop


Thanks MoorTech

I understand your code when all trades is managed within MultiCharts. All orders sent are to be executed at market.

Now, if my stops reside on my broker server like a stop loss "stop if bid " that was placed when the entry was done few bars ago for a position named "LE".

How do I know if this stops from position "LE" as been hit ? Order to sell was on broker server and could be hit any time before being canceled. What is the link between Multicharts position and actual reel positions. How to have them synchronize, Big interrogation for me????


Have a great day

Martin
Martin

Started this thread Reply With Quote




Last Updated on October 28, 2010


© 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