Super programmers, can you look? :) (Easy Language)

imported_KuJaX

Platinum Member
May 29, 2004
2,428
0
0
Hey folks,

I am a day/swing trader (stock market) and use specific/custom indicators to help me with my judging of trades. I have an indicator which is used in Tradestation. I would like to
put it into another program called Quotetracker, but they don't use EasyLanguage (which is what tradestation programming language is called). I am not a programmer type, so if I could get some help, I would GREATLY appreciate it! Here is an example of how the programming is setup FOR A DIFFERENT INDICATOR within the Quotetracker.

**********Quotetracker Single Regression***************
Single Regression Line algorithm:

1. Going through the last N periods calculate:

SumX - sum of all X values
SumY - sum of all Y values
SumXY - sum of all XY
SumX2 - sum of all XX

2. B = (N*SumXY-SumX*SumY)/(N*SumX2+SumX*SumX)
A = (SumY-B*SumX)/N


3. Calculate standard deviation

Go through all N periods and for each calculate
F = Y-(X*B+A)

4. SumF = sum of all F*F from step 3

5. StD = SQRT(SumF/N)


Plot the lines:

Y=B*X+A for the central line
Y=B*X+A+W*StD for upper channel line (where W is the width of the
channel)
Y=B*X+A-W*StD for lower channel line (where W is the width of the
channel)
****************************

That is how Quotetracker programmed the indicator "Single Regression Line". However, I want them to input a new indicator which is a "Moving Linear Regression" instead of just "Single Regression Line." I do have the coding for the NEW indicator, but it is in Easylanguage. It is what tradestation users use for a Moving Linear Regression indicator.

http://www.lan-xtreme.com/easylanguage/tradestation.txt

Again, if I could get some help, even if it isn't 100% correct, I would appreciate it. If I get them something that is ~90% correct, Quotetracker would be more than willing to fix it to work with how they program it in. I am just not good enough programmer to understand the formula's and how they are "truly" setup in that tradestation.txt.

If you need more information, don't hesitate to PM or e-mail me. If you look, I would appreciate bumps! I also wouldn't mind paypaling someone for their time if they helpout enough. Thanks again!

 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
That can't be the actual code for Quotetracker. It looks like documentation of some sort.
 

imported_KuJaX

Platinum Member
May 29, 2004
2,428
0
0
Originally posted by: MrChad
That can't be the actual code for Quotetracker. It looks like documentation of some sort.

If it is just documentation of some sort, is there some way that someone can extract something similar from the tradestation.txt ? :)
 

ArmchairAthlete

Diamond Member
Dec 3, 2002
3,763
0
0
Originally posted by: KuJaX
Originally posted by: MrChad
That can't be the actual code for Quotetracker. It looks like documentation of some sort.

If it is just documentation of some sort, is there some way that someone can extract something similar from the tradestation.txt ? :)

The txt file you linked looks more like code than what's in the post. Unless they've advertised being able to write your own custom stuff for the program (like EasyLanguage you mentioned for your other software), you might not be able to do this. Are you sure Quotetracker has this functionality?
 

imported_KuJaX

Platinum Member
May 29, 2004
2,428
0
0
Originally posted by: ArmchairAthlete
Originally posted by: KuJaX
Originally posted by: MrChad
That can't be the actual code for Quotetracker. It looks like documentation of some sort.

If it is just documentation of some sort, is there some way that someone can extract something similar from the tradestation.txt ? :)

The txt file you linked looks more like code than what's in the post. Unless they've advertised being able to write your own custom stuff for the program (like EasyLanguage you mentioned for your other software), you might not be able to do this. Are you sure Quotetracker has this functionality?

Yes the txt file from tradestation.txt is actual CODE that gets input into Tradestation. NO, you cannot input code into Quotetracker, I just want to get something similar to tradestation's code (it would take knowing some programming language to pick out the actual formula's and not the "programming code"). You CANNOT input code into Quotetracker. I chat with the Quotetracker team every once in a while, and I would like a "documentation" type coding for them to input it into their program with their own programming language easier.
 

imported_KuJaX

Platinum Member
May 29, 2004
2,428
0
0
So basically I just want someone to "output" all the formula's similar to the above algorithm that I posted in the original starting post.