stop trading for minutes after NumberWins - EasyLanguage Programming | futures io social day trading
futures io futures trading

stop trading for minutes after NumberWins
Updated: Views / Replies:1,193 / 2
Created: by binthere 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 dont 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

Thread Tools Search this Thread

stop trading for minutes after NumberWins

  #1 (permalink)
Just starting out...
houston, tx
Futures Experience: Advanced
Platform: think or swim, tradestation
Favorite Futures: futures
Posts: 2 since Jul 2010
Thanks: 1 given, 0 received

stop trading for minutes after NumberWins

hi guys,
using tradestation 8.8
I'm looking for a way to have my strategy stop trading for "x" amount of minutes after
"y" number of winning trades or
"z" number of loosing trades
thanks for your help!!

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Trading Apprentice
St. Petersburg, Russia
Futures Experience: Advanced
Platform: Multicharts
Favorite Futures: spot fx, currency futures, GC, ES
Posts: 30 since Nov 2010
Thanks: 6 given, 17 received

input: nWinTrades(5), nLosingTrades(10), nMinutes(10);

var: mp(0), wt(0), lt(0), reftime(0), trade_allowed(false);

mp = marketposition;

if positionProfit(1) > 0 then wt += 1;
if positionProfit(1) < 0 then lt += 1;

if mp <> mp[1] and (wt >= nWinTrades or lt >= nLosingTrades) then begin
	lt = 0;
	wt = 0;
	reftime = time;
	trade_allowed = false;

if time - reftime >= nMinutes then trade_allowed = true;

if trade_allowed then
	<your signal code goes here>
This stops trading for 10 minutes when number of winning trades is equal or greater than 5 or number of losing trades is equal or greater than 10.

Hope this helps.

Reply With Quote
The following 2 users say Thank You to Doctor Leo for this post:


futures io > > > > > stop trading for minutes after NumberWins

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't stop trading! tammyd549 Traders Hideout 5 September 5th, 2014 10:44 AM
1st 90 minutes trading NQ futures (day session)... researcher247 The Elite Circle 10 March 5th, 2013 11:15 AM
Trailing Stop - how to use by trading futures Blackburn NinjaTrader Programming 2 May 28th, 2011 12:59 AM
Do nothing for 2 minutes redratsal Off-Topic 0 January 26th, 2011 04:19 AM
Strategy stop trading at realized PnL zwentz NinjaTrader Programming 4 December 1st, 2009 02:29 AM

All times are GMT -4. The time now is 04:31 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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-18 in 0.07 seconds with 19 queries on phoenix via your IP