Stop & Reverse - TradeStation | futures io social day trading
futures io futures trading


Stop & Reverse
Updated: Views / Replies:1,327 / 8
Created: by ausstone 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

Reply
 
Thread Tools Search this Thread
 

Stop & Reverse

  #1 (permalink)
Elite Member
Miami, FL / USA
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Futures, Forex
 
Posts: 14 since Feb 2013
Thanks: 0 given, 2 received

Stop & Reverse

i have a strategy that is stop and reverse and I want to place a limit exit, however when i do this once the strategy exits it position it will automatically get right back into the long or short position. I tried to put code in that says "if marketposition <> -1 then begin" but then the strategy generates no trades... how can i prevent a strategy from automatically re-entering in the same direction? The goals is to take the Long Short Strategy and place limit exists but once a short or long achieves its exit not to entry until the next trade... which if long would be short and vis-versa.

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

ausstone,

you could store the previous market position of the entry and then check this against the new entry. Another idea would be to use the exit name and make sure the last exit wasn't a long limit exit in case you want to enter long.
The latter requires OOEL, but the first idea is fairly simple. The only thing to keep in mind is that you only want to store the previous market position if you are long or short and not if your are flat.

Regards,
ABCTG


ausstone View Post
i have a strategy that is stop and reverse and I want to place a limit exit, however when i do this once the strategy exits it position it will automatically get right back into the long or short position. I tried to put code in that says "if marketposition <> -1 then begin" but then the strategy generates no trades... how can i prevent a strategy from automatically re-entering in the same direction? The goals is to take the Long Short Strategy and place limit exists but once a short or long achieves its exit not to entry until the next trade... which if long would be short and vis-versa.


Reply With Quote
 
  #3 (permalink)
Elite Member
Miami, FL / USA
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Futures, Forex
 
Posts: 14 since Feb 2013
Thanks: 0 given, 2 received


is there any possible way to have an underlying stop and reverse strategy and on top of that overlay a exit management strategy with out effecting entries for the main strategy?

thanks

Reply With Quote
 
  #4 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

ausstone,

that would depend on the main strategy. In your case I guess not without modifications like I explained in the post above.

Regards,
ABCTG

Reply With Quote
 
  #5 (permalink)
Elite Member
Miami, FL / USA
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Futures, Forex
 
Posts: 14 since Feb 2013
Thanks: 0 given, 2 received

i did something like this:

 
Code
if exitname(1) <> "Ex_Long" then begin  
LOGIC LOGIC then buy ("E_Long") amount contracts next bar  at market;
end;

if exitname(1) <> "Ex_Short" then begin 
LOGIC LOGIC then sellshort("E_Short")  amount contracts next bar  at market;
end;

if openpositionprofit > 1000 then begin
	sell ("Ex_Long")Next Bar At market;
	BuyToCover ("Ex_Short")Next Bar At market;
	end;
but it does not seem to make a different... it still exits and just re entries.. i tried to find a posting about this but no luck

Reply With Quote
 
  #6 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

To make sure, are you using Multicharts or Tradestation?

Reply With Quote
 
  #7 (permalink)
Elite Member
Miami, FL / USA
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Futures, Forex
 
Posts: 14 since Feb 2013
Thanks: 0 given, 2 received

multicharts

Reply With Quote
 
  #8 (permalink)
Elite Member
Miami, FL / USA
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Futures, Forex
 
Posts: 14 since Feb 2013
Thanks: 0 given, 2 received

i got it working with the following code:

 
Code
///// this part starts the strategy other wise there will be no orders generated.
if BarNumber < 100 then begin
LOGIC LOGIC then buy ("E_Long1") amount contracts next bar  at market; 
LOGIC LOGIC then sellshort("E_Short1")  amount contracts next bar  at market;
end;  
//////end


if exitname(1) = ("Ex_Short") or entryname = ("E_Short") then begin  
LOGIC LOGIC then buy ("E_Long") amount contracts next bar  at market;
end;

if exitname(1) = ("Ex_Long") or entryname = ("E_Long")  then begin  
LOGIC LOGIC then sellshort("E_Short")  amount contracts next bar  at market;
end;

if openpositionprofit > 1000 then begin
	sell ("Ex_Long")Next Bar At market;
	BuyToCover ("Ex_Short")Next Bar At market;
	end;

Reply With Quote
 
  #9 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

Great. Another thing that should work for you is using flags that allow/block the entries.
Something along the lines of this:
 
Code
Variables:
LongAllowed(true),
ShortAllowed(true);

LOGIC LOGIC and LongAllowed then begin
LongAllowed = false ;
ShortAllowed = true ;
buy ("E_Long") amount contracts next bar  at market;
end;


LOGIC LOGIC and ShortAllowed then begin
LongAllowed = true ;
ShortAllowed = false ;
sellshort("E_Short")  amount contracts next bar  at market;
end;

if openpositionprofit > 1000 then begin
	sell ("Ex_Long")Next Bar At market;
	BuyToCover ("Ex_Short")Next Bar At market;
	end;
Regards,
ABCTG


ausstone View Post
i got it working with the following code:

 
Code
///// this part starts the strategy other wise there will be no orders generated.
if BarNumber < 100 then begin
LOGIC LOGIC then buy ("E_Long1") amount contracts next bar  at market; 
LOGIC LOGIC then sellshort("E_Short1")  amount contracts next bar  at market;
end;  
//////end


if exitname(1) = ("Ex_Short") or entryname = ("E_Short") then begin  
LOGIC LOGIC then buy ("E_Long") amount contracts next bar  at market;
end;

if exitname(1) = ("Ex_Long") or entryname = ("E_Long")  then begin  
LOGIC LOGIC then sellshort("E_Short")  amount contracts next bar  at market;
end;

if openpositionprofit > 1000 then begin
	sell ("Ex_Long")Next Bar At market;
	BuyToCover ("Ex_Short")Next Bar At market;
	end;


Reply With Quote

Reply



futures io > > > > Stop & Reverse

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
Reverse Fundamentalism jamiecassar News and Current Events 1 January 23rd, 2014 02:21 PM
can i place limit order, target price, & protective stop simultaneously shots fired ThinkOrSwim 4 June 22nd, 2013 04:31 AM
Trailing Stop Loss and Reverse shergenr NinjaTrader Programming 3 March 1st, 2011 11:05 AM
Stop and Reverse MWinfrey NinjaTrader Programming 2 January 25th, 2011 08:02 AM
Stop Loss/Target & SendMail() dsraider NinjaTrader Programming 4 May 30th, 2010 07:15 AM


All times are GMT -4. The time now is 06:23 AM.

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-17 in 0.12 seconds with 20 queries on phoenix via your IP 54.82.81.154