How to code events in sequence with Easy Language - MultiCharts | futures io social day trading
futures io futures trading


How to code events in sequence with Easy Language
Updated: Views / Replies:568 / 3
Created: by jpeg33 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
 

How to code events in sequence with Easy Language

  #1 (permalink)
Elite Member
Seattle+Wash/USA
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Favorite Futures: Futures
 
Posts: 3 since May 2013
Thanks: 5 given, 3 received

How to code events in sequence with Easy Language

I would like to program events in order much like a combination lock. Event A (1st and only 1st), then look for Event B ( Event B must be 2nd and only 2nd), then after that, Event C which triggers the entry. If any of the Events are out of order, or say the 2nd event doesn't hit it's mark then the setup resets and looks for Event A again.

Not like an additive solution but like a sequential one. Think combination lock R-20, L-3, R-11.... If you go too far half way through you have to clear it and start over.

Any Ideas if EasyLanguage can do this and could you point me to where to begin? Thanks and Much appreciated!

I should add that when I say "Event" I mean any signal or indicator based event - not to be confused with a news event.


Last edited by jpeg33; October 23rd, 2016 at 10:42 PM. Reason: for added detail
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,493 since Apr 2013
Thanks: 227 given, 846 received

Answer
This post has been selected as an answer to the original posters question Answer

jpeg33,

you can use boolean variables (i.e. true/false ones) for each event/condition. After the first event you'd set the first variable to true and only if this variable is true the second event can set the second variable to true. If the second event occurs without the first variable being true, nothing happens. Similar for the third event, with the slight change that you'd reset variable one back to false in case the third event occurs with variable one being true, but variable two being false.

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Elite Member
Seattle+Wash/USA
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Favorite Futures: Futures
 
Posts: 3 since May 2013
Thanks: 5 given, 3 received


ABCTG- Thanks! I'll head that direction.. Best!

Reply With Quote
The following user says Thank You to jpeg33 for this post:
 
  #4 (permalink)
Trading Apprentice
Chicago, IL, USA
 
Futures Experience: Advanced
Platform: MultiCharts
Favorite Futures: ES, NQ, CL
 
Posts: 2 since Oct 2016
Thanks: 0 given, 0 received

All you need is a single state variable. Initialize to 0 and increment after each event. This way you always know your place in the sequence.

Reply With Quote

Reply



futures io > > > > How to code events in sequence with Easy Language

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

Dec 7

Linda Bradford Raschke: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Easy Language code into Thinkscript sboarder13 ThinkOrSwim 20 November 22nd, 2016 01:47 AM
RSI Cumulative Easy Language code vanzolini TradeStation 5 December 18th, 2015 02:33 PM
Convert Easy Language code into Thinkscript study ckajrtx ThinkOrSwim 0 May 10th, 2014 02:07 AM
Easy Language code help piko873 EasyLanguage Programming 2 November 6th, 2013 11:09 AM
Easy Language code question quantismo EasyLanguage Programming 3 April 3rd, 2012 09:36 PM


All times are GMT -4. The time now is 03:42 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-11-25 in 0.08 seconds with 27 queries on phoenix via your IP 54.198.134.32