Time-out stop loss help - AmiBroker | futures io social day trading
futures io futures trading


Time-out stop loss help
Updated: Views / Replies:966 / 5
Created: by zwanatico 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
 

Time-out stop loss help

  #1 (permalink)
Trading Apprentice
Chicago
 
Futures Experience: None
Platform: Amibroker
Favorite Futures: ES
 
Posts: 3 since Nov 2014
Thanks: 0 given, 0 received

Time-out stop loss help

Hello. I am trying to code a time-out stop loss.
Suppose a system generates a buy signal after price crossover a specific moving average.
If after that buy signal, the higher of next x days is lower than the high of the day of the buy signal, then close position at close of that day (x).
Is it possible using N-bar stop loss function? Can you help me with coding?
Thank you!

Reply With Quote
 
  #2 (permalink)
Membership Temporarily Revoked
Zurich/Switzerland
 
Futures Experience: Advanced
Platform: -
Favorite Futures: -
 
Posts: 79 since Oct 2014
Thanks: 0 given, 33 received


zwanatico View Post
Hello. I am trying to code a time-out stop loss.
Suppose a system generates a buy signal after price crossover a specific moving average.
If after that buy signal, the higher of next x days is lower than the high of the day of the buy signal, then close position at close of that day (x).
Is it possible using N-bar stop loss function? Can you help me with coding?
Thank you!

Should be possible by combining with check of price at buy.

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Chicago
 
Futures Experience: None
Platform: Amibroker
Favorite Futures: ES
 
Posts: 3 since Nov 2014
Thanks: 0 given, 0 received


Yes, and maybe with Ref(C,...) function, but I am not very good in Amibroker coding. Can you help me?
Thank you.

Reply With Quote
 
  #4 (permalink)
Membership Temporarily Revoked
Zurich/Switzerland
 
Futures Experience: Advanced
Platform: -
Favorite Futures: -
 
Posts: 79 since Oct 2014
Thanks: 0 given, 33 received

You wanna exit at profit target I guess for example x-ticks above high of entry bar. And in addition you want to add a time stop. So for example it's one Applystop with stoptypeprofit and another one with stoptypenbar. Or you can create stops via looping.

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Chicago
 
Futures Experience: None
Platform: Amibroker
Favorite Futures: ES
 
Posts: 3 since Nov 2014
Thanks: 0 given, 0 received

Hello. I am trying to add an additional exit rule to the classic MA cross over price system. Maybe an example can clarify this exit rule (I've chosen 3 days, but the idea should be adaptable to x days):

day 0 (signal): high 11, low 8.5, close 9.5, MA 9 open long (because close>MA)
day 1: high 10.5, low 7.5, close 8.8, MA 8.5 keep long position (because close>MA)
day 2: high 10.7, low 8, close 9, MA 8.8 keep long position (because close>MA)
day 3: high 10.2, low 7.8, close 9.5, MA 9 close position (because higher from day 1 to day 3 is lower than high of day 0).

On day 3, altough close is ABOVE MA, I would like to EXIT position (sell), because higher from day 1 to day 3 (10.7) is LOWER than high of day 0 (11).
I only need help on coding the lower higher exit rule (time out exit rule).
Thank you.

Reply With Quote
 
  #6 (permalink)
Trading Apprentice
Munich Germany
 
Futures Experience: Intermediate
Platform: Amibroker
Broker/Data: Plus500, CMC, etx
Favorite Futures: CFD
 
Posts: 10 since Jan 2014
Thanks: 1 given, 2 received

Could you post here what you wrote until now?

Cheers,

Jacare

Reply With Quote

Reply



futures io > > > > Time-out stop loss help

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
Fee's For Stop Loss / Trailing Stop rkersh409 Reviews of Brokers and Data Feeds 3 May 29th, 2014 05:15 PM
Ninjatrader strategy for Trailing Stop and stop loss. skann NinjaTrader 2 August 20th, 2013 08:34 PM
ATM Strategy: Limit order & stop loss order at the same time in the market? DrE6 NinjaTrader 2 June 21st, 2013 02:12 PM
"Stop If Bid" command for entry's and stop loss arjfca EasyLanguage Programming 4 October 7th, 2010 06:05 PM
Stop Loss Order Big Mike Terms (Glossary) 0 June 28th, 2010 01:29 AM


All times are GMT -4. The time now is 07:28 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-16 in 0.15 seconds with 19 queries on phoenix via your IP 54.226.113.250