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,515 / 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 100,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
Trading 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
Trading 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)

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

60 Minutes to Better Decisions & Better Trades w/Agustin Lebron

Elite only

Live Day Trading the E-MICROS w/Ilan @ Cannon (special time: 12PM ET)

May 30

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

code, easylanguage, es, information, marketposition, multicharts, neoticker, signal, strategy, tradestation, trading

All times are GMT -4. The time now is 01:57 AM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
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 2019-05-24 in 0.14 seconds with 14 queries on phoenix