NexusFi: Find Your Edge


Home Menu

 





SetStopLoss Confilct with two systems applied to one chart.


Discussion in MultiCharts

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




 
Search this Thread

SetStopLoss Confilct with two systems applied to one chart.

  #1 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

Hi guys, i've got a problem.


I've two systems applied to 1 chart:

System 1 : With Stop loss
System 2 : Without Stop loss

System 2 read the stop loss of System 1, going out from the market many times.
I think that it happens, because "SetStopLoss" function works if Marketposition <> 0.

Anyone have some ideas to solve this problem ?

Thank you very much in any case.

Cordially

No Erocla

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #2 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

It would be helpful to know which platform. Regardless, you have set the stoploss based on the state of the strategy and not the state of Marketposition. It may be easier to control this if both strategies are in the same file, depending.

Reply With Quote
  #3 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4


Thank you vega for your answer.

Platform is multichart, and setstoploss function works if Marketposition is <> 0, so if you have two strategies active on 1 chart, this will make some conflict between stop loss.

No Erocla

Reply With Quote
  #4 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

I understand, but you can't change this fact. You have to set the stoploss using other criteria, specifically whether the strategy itself is open or flat, not whether your account is open or flat.

For example the logic would be something like,

if entry criteria met then state[0] = 1 else state[0] = state[1]
if state[1] == 0 && state[0] == 1 then set stoploss
if stoploss hit then state[0] = 0

Hopefully that makes sense or someone who knows easy language can help you with the specific code.

Reply With Quote
  #5 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,440
Thanks Received: 3,789

Why not open an additional account and have 2 charts?
You can split your capital between 2 accounts under the same name and have each chart shooting orders to a different account number?

I hope this helps.

Matt

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Reply With Quote




Last Updated on July 7, 2013


© 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