NexusFi: Find Your Edge


Home Menu

 





Tradestation's SlowK may not equal to FastD - Help


Discussion in TradeStation

Updated
    1. trending_up 3,880 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 15 posts
    2. attach_file 3 attachments




 
Search this Thread

Tradestation's SlowK may not equal to FastD - Help

  #11 (permalink)
 fiverr 
Calgary
 
Experience: None
Platform: TradeStation, MT4
Trading: ES, Stocks
Posts: 73 since Aug 2015
Thanks Given: 4
Thanks Received: 11

Bill,

You forgot the txt file attachment. BTW, can you also provide me with your EL code that generated the txt file?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
NexusFi Journal Challenge - May 2024
Feedback and Announcements
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
45 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #12 (permalink)
 Billiwon 
Los Angeles, California
 
Experience: Intermediate
Platform: TradeStation
Trading: Index futures, etc.
Posts: 53 since Aug 2014
Thanks Given: 93
Thanks Received: 26



I don't know why it did not go with the post last time. I'll try again.
I had deleted the earlier file, so now I created new ones to attach again. Hope it works this time.
I don't need to use EL code to export data. On the TradeStation chart, I just click on the chart and choose View Data Window. Then choose View All (instead of just one bar); then Save.

Good luck.

Bill

Attached Files
Elite Membership required to download: TS Data window with SLOWK(3,3).txt
Reply With Quote
  #13 (permalink)
 fiverr 
Calgary
 
Experience: None
Platform: TradeStation, MT4
Trading: ES, Stocks
Posts: 73 since Aug 2015
Thanks Given: 4
Thanks Received: 11


Thanks Bill,

I think that I am getting a hang of EL. I was able to whip up the following codes:
 
Code
Regression Indicator


inputs:  Price( Close ), Length( 3 ), Displace( 0 ) ;
variables:  Var14( 0 ) , Var17(0) ;

Var14 = LINEARREGVALUE (SlowK(3), 3, 0) ;
Var17 = AVERAGE (Var14, 3) ;
if Displace >= 0 or CurrentBar > AbsValue( Displace ) then 
	begin
	Plot1[Displace]( Var14, "L_RegSlowK" ) ;
	Plot2[Displace](Var17, "Avg_LRSK");
End
It seems to work. Many thanks for your help.

Started this thread Reply With Quote
  #14 (permalink)
 Billiwon 
Los Angeles, California
 
Experience: Intermediate
Platform: TradeStation
Trading: Index futures, etc.
Posts: 53 since Aug 2014
Thanks Given: 93
Thanks Received: 26


fiverr View Post
Thanks Bill,

I think that I am getting a hang of EL. I was able to whip up the following codes:
 
Code
Regression Indicator


inputs:  Price( Close ), Length( 3 ), Displace( 0 ) ;
variables:  Var14( 0 ) , Var17(0) ;

Var14 = LINEARREGVALUE (SlowK(3), 3, 0) ;
Var17 = AVERAGE (Var14, 3) ;
if Displace >= 0 or CurrentBar > AbsValue( Displace ) then 
	begin
	Plot1[Displace]( Var14, "L_RegSlowK" ) ;
	Plot2[Displace](Var17, "Avg_LRSK");
End
It seems to work. Many thanks for your help.

You are welcome.
I understand your code (good coding), but don't understand why you would create that indicator (which is essentially the SMA of the Linear Regression Value of SlowK of price). I plot that next to a regular TradeStation indicator SlowK(3,3), I find them about 98% matching each other in shape and turns.

By the way, how do you use the indicator in trading?



Bill

Reply With Quote
  #15 (permalink)
 fiverr 
Calgary
 
Experience: None
Platform: TradeStation, MT4
Trading: ES, Stocks
Posts: 73 since Aug 2015
Thanks Given: 4
Thanks Received: 11

Bill,

I am testing out some ideas from this book.

Four Steps to Trading Success: Using Everyday Indicators ...
http://www.google.com/search?tbo=p&tbm=bks&q=isbn:0471414824
John F. Clayburg - 2001 - ‎Business & Economics
This system will use the standard slow stochastic 14-period indicator, with an ... Buy orders are generated when the Slow K line crosses above the Slow D line ...

https://books.google.ca/books?id=s-MfrL2kmdgC&pg=PA41&lpg=PA41&dq=slow+k+trading&source=bl&ots=tZVPontbm2&sig=pG5CONZq_yu-mvO2AJ_EOUu4aYg&hl=en&sa=X&redir_esc=y

Started this thread Reply With Quote
  #16 (permalink)
 Billiwon 
Los Angeles, California
 
Experience: Intermediate
Platform: TradeStation
Trading: Index futures, etc.
Posts: 53 since Aug 2014
Thanks Given: 93
Thanks Received: 26


fiverr View Post
Bill,

I am testing out some ideas from this book.

Four Steps to Trading Success: Using Everyday Indicators ...
http://www.google.com/search?tbo=p&tbm=bks&q=isbn:0471414824
John F. Clayburg - 2001 - ‎Business & Economics
This system will use the standard slow stochastic 14-period indicator, with an ... Buy orders are generated when the Slow K line crosses above the Slow D line ...

https://books.google.ca/books?id=s-MfrL2kmdgC&pg=PA41&lpg=PA41&dq=slow+k+trading&source=bl&ots=tZVPontbm2&sig=pG5CONZq_yu-mvO2AJ_EOUu4aYg&hl=en&sa=X&redir_esc=y

Good book. When I bought this same book from John in his live seminar many years ago, he autographed it for me.

The use of stochastic from his book does not require anything like the "Linear Regression Value" function you first showed in your request. The generic Stochastic-Slow indicator already provides both the SlowD and the SlowK for the cross-over analysis.

One caution in testing this idea you mentioned: the method works ok in a sideways market. It sucks if against a strong trend. That's why in John's book (Chapter 10 ?) he provided a method to project if the trading day is likely to be up, down or sideways. However, that's just for day-trading.

Good trading.

Bill

Reply With Quote




Last Updated on August 14, 2015


© 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