EasyLanguage SuperTrend indicator - futures io
futures io futures trading



EasyLanguage SuperTrend indicator


Discussion in EasyLanguage Programming

Updated by auato
      Top Posters
    1. looks_one Big Mike with 11 posts (55 thanks)
    2. looks_two ABCTG with 9 posts (6 thanks)
    3. looks_3 chtangwin with 6 posts (23 thanks)
    4. looks_4 Sam7768 with 5 posts (2 thanks)
      Best Posters
    1. looks_one Big Mike with 5.0 thanks per post
    2. looks_two chtangwin with 3.8 thanks per post
    3. looks_3 cedar with 1.3 thanks per post
    4. looks_4 ABCTG with 0.7 thanks per post
    1. trending_up 70,720 views
    2. thumb_up 96 thanks given
    3. group 39 followers
    1. forum 84 replies
    2. attach_file 9 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Thread Tools Search this Thread
 

EasyLanguage SuperTrend indicator

  #11 (permalink)
Miami, Florida USA
 
 
Posts: 5 since Dec 2010
Thanks: 0 given, 0 received

SuperTrend Indicator Issue

Hello BigMike/Others: Can you suggest a way to get the formal algorithm for the SuperTrend Indicator?

I converted Roonius' v2.3 Ninja script available at tradingstudies.com to TS EasyLanguage successfully but from time to time the price and the indicator diverge due to conditions that are no being contemplated by the code. In order to correct that I need to know the algorithm, have not been able to figure out the underlying theory by looking at the code's logic ("reverse engineering").

Roonius has not responded but perhaps someone out there can point me in the right direction.

Thanking you in advance,

JVBehar

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
 
  #12 (permalink)
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
 
Posts: 45 since Sep 2010
Thanks: 21 given, 9 received

txt files into eld files?

---

Thanks Mike, this is great.

Need some guidance from Tradestation gurus...how do I covert txt files in to ELD files? I tried to important txt files but TS is not accepting them.

Thanks much....

Reply With Quote
 
  #13 (permalink)
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
 
Posts: 45 since Sep 2010
Thanks: 21 given, 9 received


Found the answer. Posting below for future use...

https://www.tradestation.com:443/Discussions/Topic.aspx?Topic_ID=110336&PAGE=1&

Reply With Quote
The following user says Thank You to Sam7768 for this post:
 
  #14 (permalink)
Quebec
 
Experience: Intermediate
Platform: Multicharts 64 +VolProfile
Broker: AMP Trading / CQG
Trading: Ym, Es
 
Serger's Avatar
 
Posts: 72 since Oct 2010
Thanks: 64 given, 24 received

Newbie to code
I try to make a signal whit Big Mike SuperTrend ... . but any resultats have you idea why ?
I have compile it and any error ???
{ Super Trend strategy }

inputs: price(Close), SuperTrend( 21 ), upColour(Blue), downColour(Red);
variables: Avg(0), colour(0);



if Avg > Avg[1] then colour = upColour;
if Avg < Avg[1] then colour = downColour;


{buy sell Criteria}

if colour[1] <> colour then
if colour = upColour then
Buy ( "jup" ) next bar at market ;

if colour[1] <> colour then
if colour = downColour then
sell short ( "jdn" ) next bar at market ;



Thank you for your help if ......

Reply With Quote
 
  #15 (permalink)
Milano
 
 
Posts: 13 since May 2011
Thanks: 29 given, 0 received

Good evening everyone ... sorry for my english I have a problem .... use of tradepulse fastbrokers and should use the language .... I have a easy language code for the Hull .... but I do not agree and I several mistakes .... can someone help me ... This applies to the 3d right? Thanks

Reply With Quote
 
  #16 (permalink)
Site Administrator
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 48,773 since Jun 2009
Thanks: 31,483 given, 94,152 received


Tom Joad View Post
Good evening everyone ... sorry for my english I have a problem .... use of tradepulse fastbrokers and should use the language .... I have a easy language code for the Hull .... but I do not agree and I several mistakes .... can someone help me ... This applies to the 3d right? Thanks

In order to help, you'll need to describe the exact problem. A screenshot is helpful.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #17 (permalink)
Milano
 
 
Posts: 13 since May 2011
Thanks: 29 given, 0 received


Big Mike View Post
In order to help, you'll need to describe the exact problem. A screenshot is helpful.

Mike

Thank you Mike...(Big Mike)
I managed to solve right now and your disponibilita'e'ottima. I am happy to be part of this community ', I have some language problem but I think I make it a nice day

Reply With Quote
 
  #18 (permalink)
Stockholm
 
Experience: Intermediate
Platform: Nanotrader/ tradestaion
Broker: WHS / TS
Trading: EC / SI / ES / BP
 
Posts: 19 since Mar 2011
Thanks: 8 given, 5 received

Hello Mike,

I impoted this supertrend in TS but both lines stay RED even though the settings are right red and blue.



Lamboo

Visit my Facebook Reply With Quote
 
  #19 (permalink)
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
 
Posts: 45 since Sep 2010
Thanks: 21 given, 9 received


Big Mike View Post
In order to help, you'll need to describe the exact problem. A screenshot is helpful.

Mike

Hello Mike, and other Tradestation Experts,

I am trying to write a strategy (in Tradestation) based on the super trend...

" if st cross below close then buy ("buy") next bar at market;"

Attached a screen shot. At times, even though close is above Supertrend, Supertrend does not change (which is a good thing), and price comes back to below the super trend, but how do I code this?

If I say "st cross below close" the strategy triggers a buy even though the Supertrend does not change the side.

Any advice / suggestions?

Sam

Attached Thumbnails
Click image for larger version

Name:	Picture1.png
Views:	448
Size:	284.5 KB
ID:	39028  
Reply With Quote
 
  #20 (permalink)
Site Administrator
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 48,773 since Jun 2009
Thanks: 31,483 given, 94,152 received


Sam,

You need to post your full code so someone can look it over and duplicate the issue. You can post just a minimal signal that you confirm duplicates the problem.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote



futures io Trading Community Platforms and Indicators EasyLanguage Programming > EasyLanguage SuperTrend indicator




Upcoming Webinars and Events
 

Free BloodHound Licenses to everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 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