Convert this NT code to EL, Please - EasyLanguage Programming | futures io social day trading
futures io futures trading


Convert this NT code to EL, Please
Updated: Views / Replies:1,935 / 8
Created: by lizmerrill Attachments:3

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
 

Convert this NT code to EL, Please

  #1 (permalink)
Trading Apprentice
san francisco, calif
 
Futures Experience: Advanced
Platform: tradestation
 
Posts: 8 since Sep 2009
Thanks: 0 given, 0 received

Convert this NT code to EL, Please

Can any savvy NT coders, recode the attached code for NT to Tradestation Easylanguage.
Would really appreciate it.

Blessings to All,

Liz

Attached Files
Register to download File Type: cs Lin_Reg_Color_Paint_v01.cs (14.6 KB, 11 views)
Register to download File Type: cs @SUM.cs (5.0 KB, 8 views)
Register to download File Type: cs @LinReg.cs (5.8 KB, 8 views)
Reply With Quote
 
  #2 (permalink)
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.

 
  #3 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received


ok, this is what you like to convert i think :

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



its the LinReg that colors its line and the Bars depending on up / down (blue / red)
and a flat-definition (yello Bars / gray line)

now what is your question to the algo ?

max-td
Reply With Quote
 
  #4 (permalink)
Trading Apprentice
san francisco, calif
 
Futures Experience: Advanced
Platform: tradestation
 
Posts: 8 since Sep 2009
Thanks: 0 given, 0 received

Conditions for change of color?

when does the lr line change color, ...when the angle crosses a critical level, or when the lr line changes direction...what is the conditions for color change in the lr line?

thanks

Reply With Quote
 
  #5 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

its an angle-algo :

an angle below the value is flat / gray
an angle above it is colored

max-td
Reply With Quote
 
  #6 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

once it was a 2-step angle- check for flat, soft and strong angle with multiple colors
.
but this is out of function in this special linReg inidi here.
its a leftover from an other variation with MAs.

thats why you have angle1 + angle2 in the code.

max-td
Reply With Quote
 
  #7 (permalink)
Trading Apprentice
san francisco, calif
 
Futures Experience: Advanced
Platform: tradestation
 
Posts: 8 since Sep 2009
Thanks: 0 given, 0 received

Correct me, please

So again, how does the color change for the lr line:
correct me:
if the slope of the lr line is up ( either by lr>lr[1] ) and angle 1 or angle2 is greater than threshold, then lr line is blue???
(if so, why not just one input for angle, why angle1 and angle2?

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
san francisco, calif
 
Futures Experience: Advanced
Platform: tradestation
 
Posts: 8 since Sep 2009
Thanks: 0 given, 0 received

Clarify, after rereading your replys

let me try again, after rereading your earlier response:
if lr is pointed up ( lr> lr[1]) and angle is greater than threshold, then paint line blue, right?
if lr is pointed up, and angle is <=threshold, then paint line gray for flat..?

do you use the slope to assess then direction of the lr line, or just lr>lr[1] etc?

Blessings,

Liz

Reply With Quote
 
  #9 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

OK, there we go :



lizmerrill View Post
let me try again, after rereading your earlier response:


if lr is pointed up ( lr> lr[1]) and angle is greater than threshold, then paint line blue, right? exactly


if lr is pointed up, and angle is <=threshold, then paint line gray for flat..? exactly


do you use the slope to assess then direction of the lr line, or just lr>lr[1] etc?

>>>>

this is the first check of the indicator >> if ( Rising (LinReg(Input,period))) --

and later it goes on with an

else (means - if not rising = falling )
for the other side

thats how its done in this code

hope it helps!

max-td
Reply With Quote

Reply



futures io > > > > > Convert this NT code to EL, Please

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serialising thread/code samples from NT forum cclsys NinjaTrader Programming 2 October 22nd, 2013 06:56 PM
Can anyone convert a code from TOS j8fire ThinkOrSwim 8 July 18th, 2012 09:24 PM
Simple template to convert NT Strategy to NT IUndicator visounds NinjaTrader Programming 4 March 31st, 2011 08:16 AM
help with bartype for strategy in EL JVentura EasyLanguage Programming 4 December 4th, 2010 12:57 PM
Need confirmation of NT code please Saroj NinjaTrader Programming 4 September 26th, 2009 01:51 PM


All times are GMT -4. The time now is 11:38 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-12-14 in 0.12 seconds with 20 queries on phoenix via your IP 54.227.51.103