Stochastics coding help needed! - NinjaTrader Programming | futures io social day trading
futures io futures trading


Stochastics coding help needed!
Updated: Views / Replies:6,811 / 33
Created: by RodS Attachments:12

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
 12  
 
Thread Tools Search this Thread
 

Stochastics coding help needed!

  #21 (permalink)
Elite Member
Indy
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: 6E,TF,YM,NQ
 
RodS's Avatar
 
Posts: 88 since Jun 2009
Thanks: 433 given, 65 received

That did it!! Thank you very much Saroj!

Have a Great Weekend!!

Rod

Reply With Quote
 
  #22 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,358 since Sep 2009
Thanks: 1,356 given, 1,551 received

Stoch Colour

Greetings.
As a first post I'd thought I'd ask for some help.
With no scripting experience I'm hoping someone can help.

Is it possible to have the actual stochastic line (not the background) coloured if above or below a threshold ?

ie: if D Stochastic line is above 80 then colour the D line green.
if D Stochastic line is below 20 then colour the D line red.
if D Stochastic line is between 80 and 20 then colour the D line yellow.

I have tried, but I have no idea what I'm doing.

Any help appreciated.
thx

Reply With Quote
 
  #23 (permalink)
Elite Member
Arcata, CA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: index futures, oil
 
Saroj's Avatar
 
Posts: 482 since Jun 2009
Thanks: 223 given, 389 received



zt379 View Post
Greetings.
As a first post I'd thought I'd ask for some help.
With no scripting experience I'm hoping someone can help.

Is it possible to have the actual stochastic line (not the background) coloured if above or below a threshold ?

ie: if D Stochastic line is above 80 then colour the D line green.
if D Stochastic line is below 20 then colour the D line red.
if D Stochastic line is between 80 and 20 then colour the D line yellow.

I have tried, but I have no idea what I'm doing.

Any help appreciated.
thx

ZT, did you ever get your stochastic coloring indicator? I have one for rising/falling that probably could be adapted fairly easily.

Reply With Quote
 
  #24 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,358 since Sep 2009
Thanks: 1,356 given, 1,551 received

thx


Saroj View Post
ZT, did you ever get your stochastic coloring indicator? I have one for rising/falling that probably could be adapted fairly easily.

Saroj.
Thx very much for asking.
No I have not made any progress.
If yours can be adapted, that would be great ?

Many thx.

Reply With Quote
 
  #25 (permalink)
Elite Member
Arcata, CA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: index futures, oil
 
Saroj's Avatar
 
Posts: 482 since Jun 2009
Thanks: 223 given, 389 received


zt379 View Post
Saroj.
Thx very much for asking.
No I have not made any progress.
If yours can be adapted, that would be great ?

Many thx.

I'll give it a stab... give me a few days... and please let me know if you come up with one in the meantime.

Reply With Quote
 
  #26 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received


zt379 View Post
Saroj.
Thx very much for asking.
No I have not made any progress.
If yours can be adapted, that would be great ?

Many thx.

Try attached.

Attached Files
Register to download File Type: cs StochasticsDColors.cs (10.3 KB, 44 views)
Reply With Quote
The following 2 users say Thank You to roonius for this post:
 
  #27 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,358 since Sep 2009
Thanks: 1,356 given, 1,551 received

..


roonius View Post
Try attached.

thank you Saroj and roonius.

I'm used to downloading and installing from a zip.file
I don't know how to install this cs.file.

Could you help with this ?

Thank you

Reply With Quote
 
  #28 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


zt379 View Post
thank you Saroj and roonius.

I'm used to downloading and installing from a zip.file
I don't know how to install this cs.file.

Could you help with this ?

Thank you

zt379,

Look here!!!

https://futures.io/programmers-paradise/967-importing-cs-file-indicator-strategy.html

RJay

Reply With Quote
 
  #29 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,358 since Sep 2009
Thanks: 1,356 given, 1,551 received

thx



Thank you RJay. Got it working.

How can I alter the code to have the colour changes for the K line instead of the D line ?
I've looked at the code but I have no experience with this.

Many thanks for the help.

Reply With Quote
 
  #30 (permalink)
 Vendor: www.tradingstudies.com 
Denver, CO
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: TF, ES, CL
 
roonius's Avatar
 
Posts: 132 since Jun 2009
Thanks: 20 given, 272 received



zt379 View Post
Thank you RJay. Got it working.

How can I alter the code to have the colour changes for the K line instead of the D line ?
I've looked at the code but I have no experience with this.

Many thanks for the help.

Last 2 lines replace D[0] with K[0]

Reply With Quote

Reply



futures io > > > > > Stochastics coding help needed!

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
Stochastics min/max Prediction within range bar gain247 NinjaTrader 24 August 7th, 2011 12:51 AM
Stochastics Cross Indicator DennisA NinjaTrader 1 March 30th, 2011 07:30 PM
Stochastics Crossover Alert Indicator -> coding- WORKSHOP engl98 The Elite Circle 40 January 20th, 2011 10:32 PM
Strategy Coding - help needed - ORB & Trailing conditions RodS The Elite Circle 24 December 8th, 2010 09:30 AM
compare stochastics on different charting software traderTX NinjaTrader Programming 18 April 20th, 2010 10:13 PM


All times are GMT -4. The time now is 08:05 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-17 in 0.20 seconds with 20 queries on phoenix via your IP 54.145.16.43