Stay Long until another Trigger Occurs - AmiBroker | futures io social day trading
futures io futures trading

Stay Long until another Trigger Occurs
Updated: Views / Replies:552 / 0
Created: by DonStar 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

Thread Tools Search this Thread

Stay Long until another Trigger Occurs

  #1 (permalink)
Elite Member
Dallas, TX
Futures Experience: Intermediate
Platform: ToS, TradeGuider, eSignal, AmiBroker
Broker/Data: TD Ameritrade/eSignal
Favorite Futures: Stocks
DonStar's Avatar
Posts: 68 since Dec 2011
Thanks: 28 given, 41 received

Stay Long until another Trigger Occurs

Dear esteemed & learned Ami-scripters:

I am working on an indicator and I am absolutely banging my head on the wall and going down in flames!

I am trying to create code that will automate the process described below.

If some of you would help me, I would be extremely grateful (and might even get some sleep at night).

I am willing to do the work on this, but I don't know enough AFL to figure it out.

I have read help files, looked at other code, watched YouTube videos, you name it.

Here is what I am trying to do:

1=True 0=False

If Buy =1 today
& Sell & Short & Cover =0
Enter Long Position

If Buy =1 yesterday
& Sell & Short & Cover =0
Stay in Long Position

Test every bar to ensure we Stay in Long Position

If Sell or Short or Cover =1
Exit Long Position
Take action based on which one(x) =1

Test every bar to ensure x=1

If Sell or Short or Cover or Buy =1
Exit x
Take action based on which one(x) now =1

Continue this process until...

Thank you in advance,


Reply With Quote


futures io > > > > Stay Long until another Trigger Occurs

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Updating schedule soon for June


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Great Setup Occurs... srgtroy Traders Hideout 5 October 15th, 2014 02:23 PM
If an transaction occurs BELOW the bid vrs AT the bid a bullish or bearish move Angelo1 Emini Index Futures Trading 4 April 10th, 2014 11:00 PM
Not able to pull the trigger Mephistophilis Psychology and Money Management 21 June 11th, 2012 01:46 AM
Volume Trigger joe11 NinjaTrader 1 November 1st, 2010 12:47 PM
Looking for a simple MACD strategy. MACD Xover LONG, go LONG roshareid NinjaTrader Programming 2 April 11th, 2010 08:05 PM

All times are GMT -4. The time now is 05:40 PM.

Copyright © 2018 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 2018-06-21 in 0.06 seconds with 19 queries on phoenix via your IP