How to set up a daily stop loss? - MultiCharts | futures io social day trading
futures io futures trading


How to set up a daily stop loss?
Updated: Views / Replies:1,817 / 7
Created: by sunsun Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How to set up a daily stop loss?

  #1 (permalink)
Trading Apprentice
hong kong
 
Futures Experience: Beginner
Platform: tradestation
Favorite Futures: futures
 
Posts: 6 since May 2013
Thanks: 1 given, 1 received

How to set up a daily stop loss?

Hi I'm having difficulties writing codes with Multicharts.
I am running data of over a few months and I am trying to set up a stop loss for the day.
Since the program is running continuously, I am trying to figure out how to reset the stop loss for the next day if I am stopped out today.
Is there a function in Multicharts that allows me to set up a daily stop loss?

Thanks a lot

Reply With Quote
The following user says Thank You to sunsun for this post:
 
  #2 (permalink)
Elite Member
Wayne, NJ USA
 
Futures Experience: Intermediate
Platform: Multicharts, Deltix DCS
Broker/Data: Interactive Brokers/IQ Feed
Favorite Futures: ETF Options
 
Posts: 41 since Oct 2012
Thanks: 7 given, 36 received

if Date <> Date[1] then
begin
//Enter Daily Stop Loss logic
end;

Reply With Quote
The following user says Thank You to quantarb for this post:
 
  #3 (permalink)
Trading Apprentice
hong kong
 
Futures Experience: Beginner
Platform: tradestation
Favorite Futures: futures
 
Posts: 6 since May 2013
Thanks: 1 given, 1 received

thanks


Thank you so much for the reply

Reply With Quote
 
  #4 (permalink)
Elite Member
Brisbane, Queensland, Australia
 
Futures Experience: Advanced
Platform: NT8/JIGSAW
Broker/Data: MacQuarie Futures/AMP Clearing/CQG
Favorite Futures: ZB/FGBL/GC/CL/HG/6J/6M/6B/FDAX/NQ
 
xiaosi's Avatar
 
Posts: 483 since Feb 2012
Thanks: 381 given, 440 received

Does anyone have or have seen code for NT for a daily stop? Something that would check the account equity of whatever account and make sure your not over your daily?

Spent hours searching one day, the gave up....this just reminded me....thanks!

Cheers,


XS

Reply With Quote
 
  #5 (permalink)
Elite Member
Montreal, Qc, Canada
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Interactive Brokers/Kinetick
Favorite Futures: ETF
 
Virtuose1's Avatar
 
Posts: 38 since Jun 2011
Thanks: 114 given, 27 received

Daily Stop in NT

Here's the code for a daily stop in NinjaTrader in $:

if (Time[0].Date!=Time[1].Date)
{
sodEquity=Performance.AllTrades.TradesPerformance.Currency.CumProfit;
}


openEquity = Positions[1].GetProfitLoss(Closes[1][0],PerformanceUnit.Currency);
currEquity = Performance.AllTrades.TradesPerformance.Currency.CumProfit;

if((currEquity+openEquity)-sodEquity<=dailyStop)
Do something


I hope this help.

Reply With Quote
 
  #6 (permalink)
Elite Member
Brisbane, Queensland, Australia
 
Futures Experience: Advanced
Platform: NT8/JIGSAW
Broker/Data: MacQuarie Futures/AMP Clearing/CQG
Favorite Futures: ZB/FGBL/GC/CL/HG/6J/6M/6B/FDAX/NQ
 
xiaosi's Avatar
 
Posts: 483 since Feb 2012
Thanks: 381 given, 440 received


Virtuose1 View Post
Here's the code for a daily stop in NinjaTrader in $:

if (Time[0].Date!=Time[1].Date)
{
sodEquity=Performance.AllTrades.TradesPerformance.Currency.CumProfit;
}


openEquity = Positions[1].GetProfitLoss(Closes[1][0],PerformanceUnit.Currency);
currEquity = Performance.AllTrades.TradesPerformance.Currency.CumProfit;

if((currEquity+openEquity)-sodEquity<=dailyStop)
Do something


I hope this help.

Merci beaucoup!

Reply With Quote
 
  #7 (permalink)
Elite Member
London/UK
 
Futures Experience: Intermediate
Platform: NT7
Broker/Data: Continum
Favorite Futures: ES
 
Morpheous2005's Avatar
 
Posts: 10 since Aug 2015
Thanks: 2 given, 5 received

Hi, I am also looking to set up some sort of way to limit my max daily loss as I am just starting out and want to
find a way to help protect myself from aggressive over trading. Obviously it would be ideal if self discipline was enough
but that's in development and improving all the time. Can anyone explain what I would do with this code to implement it please ? Many thanks

Reply With Quote
 
  #8 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


Morpheous2005 View Post
Hi, I am also looking to set up some sort of way to limit my max daily loss as I am just starting out and want to
find a way to help protect myself from aggressive over trading. Obviously it would be ideal if self discipline was enough
but that's in development and improving all the time. Can anyone explain what I would do with this code to implement it please ? Many thanks

Not possible, sorry. Of course you can code an alert pop-up, sound alert, or something else when your daily loss has been reached. But if the problem is with self-discipline then you probably aren't that impressed with an alert or something else.

Reply With Quote

Reply



futures io > > > > How to set up a daily stop loss?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EasyLanguage Daily Profit and Daily Loss limit in strategy Big Mike EasyLanguage Programming 11 May 12th, 2016 02:50 PM
Set Stop loss gerimo NinjaTrader Programming 3 May 24th, 2012 02:36 PM
Daily Profit / daily loss question bdd069 Elite EasyLanguage Automated Trading 4 February 16th, 2012 12:36 PM
How to set up a Stop (Limit) Loss order - Ninja Trader jdumanic NinjaTrader 2 June 7th, 2011 06:40 PM
"Stop If Bid" command for entry's and stop loss arjfca EasyLanguage Programming 4 October 7th, 2010 06:05 PM


All times are GMT -4. The time now is 09:46 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-12 in 0.10 seconds with 35 queries on phoenix via your IP 54.221.93.187