NexusFi: Find Your Edge


Home Menu

 





EasyLanguage SuperTrend indicator


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Big Mike with 11 posts (59 thanks)
    2. looks_two ABCTG with 9 posts (6 thanks)
    3. looks_3 chtangwin with 6 posts (26 thanks)
    4. looks_4 Sam7768 with 5 posts (2 thanks)
      Best Posters
    1. looks_one Big Mike with 5.4 thanks per post
    2. looks_two chtangwin with 4.3 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 98,351 views
    2. thumb_up 103 thanks given
    3. group 42 followers
    1. forum 86 posts
    2. attach_file 9 attachments




 
Search this Thread

EasyLanguage SuperTrend indicator

  #11 (permalink)
jvbehar
Miami, Florida USA
 
Posts: 5 since Dec 2010
Thanks Given: 0
Thanks Received: 0

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 NexusFi?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
77 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
38 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
17 thanks
  #12 (permalink)
 Sam7768 
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
Posts: 47 since Sep 2010
Thanks Given: 21
Thanks Received: 9

---

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)
 Sam7768 
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
Posts: 47 since Sep 2010
Thanks Given: 21
Thanks Received: 9


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

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

Reply With Quote
Thanked by:
  #14 (permalink)
 
Serger's Avatar
 Serger 
Quebec
 
Experience: Intermediate
Platform: Multicharts 64 +VolProfile
Broker: Interactive Brokers
Trading: Ym, Es
Posts: 74 since Oct 2010
Thanks Given: 64
Thanks Received: 25

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)
Tom Joad
Milano
 
Posts: 13 since May 2011
Thanks Given: 29
Thanks Received: 0

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)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,236
Thanks Received: 101,657


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 the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #17 (permalink)
Tom Joad
Milano
 
Posts: 13 since May 2011
Thanks Given: 29
Thanks Received: 0


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)
 Lamboo 
Stockholm
 
Experience: Intermediate
Platform: Nanotrader/ tradestaion
Broker: WHS / TS
Trading: EC / SI / ES / BP
Posts: 19 since Mar 2011
Thanks Given: 8
Thanks Received: 5

Hello Mike,

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



Lamboo

Reply With Quote
  #19 (permalink)
 Sam7768 
Dallas, Texas, USA
 
Experience: Beginner
Platform: NT 6.5 & Tradestation
Trading: Equities & ES
Posts: 47 since Sep 2010
Thanks Given: 21
Thanks Received: 9


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:	752
Size:	284.5 KB
ID:	39028  
Reply With Quote
  #20 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,236
Thanks Received: 101,657


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 the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on October 31, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts