Writing scan in tradestation - EasyLanguage Programming | futures io social day trading
futures io futures trading


Writing scan in tradestation
Updated: Views / Replies:1,549 / 8
Created: by newmoney87 Attachments:1

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 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
 

Writing scan in tradestation

 
Trading Apprentice
st.louis missouri united stated
 
Futures Experience: None
Platform: tradestation
Favorite Futures: gold
 
Posts: 4 since Feb 2017
Thanks: 0 given, 0 received

Writing scan in tradestation

Hello All,
im new to the forums and to trading, I use Tradestation and im looking to write a scan, ive included photos of what i want the scan to accomplish and a brief explanation, i was wondering if someone could help me out with this idea, as i have no programming experience at all and am new to easy language....

In preparation for the next buying opportunity,

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



1. A stock touched its upper Autoenvelope within the past 26 bars
2. That stock is now under its 26-bar EMA OR has been under it within past bar


PS: the chart above in FMC weekly

PPS: the autoenvolope is part of and indicator package that i purchased from Dr. Alexander Elder

thanks in advanced

 
 
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.

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,807 since Apr 2013
Thanks: 293 given, 1,102 received


newmoney87,

the first thing that you need to make sure is that you can either access the code for the Autoenvelope or have a function (that can be closed code) that makes those values accessible. Otherwise you wouldn't be able to use the
value for the Autoenvelope within your code.

Regards,

ABCTG

 
 
Trading Apprentice
st.louis missouri united stated
 
Futures Experience: None
Platform: tradestation
Favorite Futures: gold
 
Posts: 4 since Feb 2017
Thanks: 0 given, 0 received

@ABCTG how would i go about finding out if i have access to the code?

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,807 since Apr 2013
Thanks: 293 given, 1,102 received

newmoney87,

you can look at the code in the Development Environment directly. Another approach is when you have the indicator applied to a chart, go to "Format" -> "Analysis Techniques", highlight the particular indicator and click on "Edit EasyLanguage". This will open up this indicator in the Development Environment directly.

Regards,

ABCTG

 
 
Trading Apprentice
st.louis missouri united stated
 
Futures Experience: None
Platform: tradestation
Favorite Futures: gold
 
Posts: 4 since Feb 2017
Thanks: 0 given, 0 received

ok i see it i can edit the easy language of the autoenvolope

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,807 since Apr 2013
Thanks: 293 given, 1,102 received

newmoney87,

there is a bit of a problem here as I don't know how the indicator operates and what the variables are named. As it's probably copyrighted material, I wouldn't suggest posting it.

What you will have to do is along the line of this:

Check if the Low of the current bar is below the EMA. I suspect you are referring to an EMA with length 26, as the EMA doesn't use bars for the length like a simple average for example.

Within the below check of Low < myEMA, that would check for the Low of the current bar being lower than the EMA, I'd suggest to create a loop and cycle through the last 26 values for the upper Autoenvelope and check if a High of that bar touches that value.
You can check previous bars values of a reserved word or variable via brackets - High[1] is the high from 1 bar ago etc..
If you find a touch, you have a valid signal and can plot this on the chart as a dot for example.

 
Code
Variables:
double myEMA ( 0 );

myEMA = XAverage( Close, 26 );

//low of the bar is under the EMA
if Low < myEMA then
begin
//the loop would be in here

end ;
Regards,

ABCTG

 
 
Trading Apprentice
st.louis missouri united stated
 
Futures Experience: None
Platform: tradestation
Favorite Futures: gold
 
Posts: 4 since Feb 2017
Thanks: 0 given, 0 received

ABCTG,
im not sure what you mean by loop?, and i can pm the autoenvlope to u well what i see wen i hit edit easy language, i speak to Dr Elder regularly, i asked him about it he's cool with me showing you that part if your willing to look at it for me.

thank you !

 
 
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,807 since Apr 2013
Thanks: 293 given, 1,102 received

newmoney87,

I would suggest to take a look at the EasyLanguage Essentials guide. It will cover all the basics you need to know to write the code based on the idea I outlined below.

Regards,

ABCTG


 



futures io > > > > > Writing scan in tradestation
Thread Tools



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

September Journal Challenge (sponsored by TopstepTrader)

September

Battlestations! Win $947 in prizes for showing us your trading desk!

October
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tradestation Scan - Unusual Option Activity haonkered TradeStation 0 March 12th, 2015 10:39 PM
Writing to a file using Elcollection arjfca MultiCharts 2 December 18th, 2013 05:20 AM
need writing options broker cherrycars Options on Futures 4 August 13th, 2013 05:04 PM
Average Volume Scan / Scan Results TonyB ThinkOrSwim 5 March 23rd, 2013 02:20 PM
Need help with writing a strategy for NT Eagle01 NinjaTrader Programming 1 October 20th, 2010 09:38 AM


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

Copyright © 2018 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 2018-10-20 in 0.13 seconds with 15 queries on phoenix