Please, I need help with timer on WoodiesCCIpanel - NinjaTrader Programming | futures io social day trading
futures io futures trading


Please, I need help with timer on WoodiesCCIpanel
Updated: Views / Replies:1,224 / 9
Created: by George Attachments:2

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
 

Please, I need help with timer on WoodiesCCIpanel

  #1 (permalink)
Elite Member
Sweden
 
Futures Experience: Master
Platform: TT, NT, MetaTrader
Broker/Data: Velocity Futures, MB Trading
Favorite Futures: EUR/USD
 
George's Avatar
 
Posts: 401 since Jun 2009
Thanks: 1,005 given, 1,167 received

Please, I need help with timer on WoodiesCCIpanel

Hey Guys,

I'm using this indicator that's from my Woodie adventure a long time ago. Formerly it was used to predict range bars (works on minutes and tick bars as well) , and to show the woodies cci. Me myself I am using it in order to get a fast observation of the previous bar high, low and close + the current bar low, high and current price. It is very useful for price action observation. It also has a timer included in it. It looks like this:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


The problem I have with it is that I want to use the timer alert (sound), and it's simply not working right. For i.e. I want it to alert me on, let's say 200 seconds. It does sound on the 200 sec, but it also sounds 10 seconds later again, and after that 60 seconds later again, and then again. It sounds about 6 times.

Unfortunately I lack programing skills, so if someone could be so kind and solve the issue I'd be forever grateful. There may also be other that could benefit from this indicator as well.

Thank you in advance!

WoodiesCCIpanel.cs

We all struggle to make tomorrow look like yesterday!
Get rid of your past and let the future unfold from the now.
Past performance is not indicative of future results.
/George
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


hey george,
as i remeber this thing, it works like this :

- its depending on your chart-timeframe
- it has 2 alert steps :
1 far away + 1 nearer - both related to the end of your time-periode of the chart.

so if you use a 5 min chart, you can not let the timer play a sound every 200 seconds.
you can let it play 50 seconds + 5 seconds before the end of the current candle iE

thats out of the brain now - i used it long time ago - have a look at it in this direction.

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #4 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received

.net maps timer interval in milliseconds.

in your code (line 335) the interval is set as:
 
Code
timer.Interval = 1000;
this essentially means the timer ticks every seconds. if you want to tick it every 5 seconds it should be 5000 and if every 200 seconds it should be set at 200000.

Timer.Interval Property (System.Timers)

cheers

edit: the timer basically refreshes the chart every one sec. so you cant change the timer interval. you have to make changes in the SoundTimerAlert method.

Reply With Quote
The following user says Thank You to bukkan for this post:
 
  #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

tested here without code-changings :

Alert Timer 1st - only does a colorchange

Alert Timer Last - does another colorchange PLUS a sound

works "in seconds before current bar is ending" .

but on my own old original file: WoodiesCCIpanel v1.7 beta -- not on yours

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #6 (permalink)
Elite Member
Sweden
 
Futures Experience: Master
Platform: TT, NT, MetaTrader
Broker/Data: Velocity Futures, MB Trading
Favorite Futures: EUR/USD
 
George's Avatar
 
Posts: 401 since Jun 2009
Thanks: 1,005 given, 1,167 received

Hey Max,

Thanks a lot for the answers. The one I'm using is a version that Sam modified for me in order to make it work with NT7. Does yours work with NT7?

Further, if I set it as you're mentioning yes then it works, but it works strange. For i.e., if I put it on a 5 min chart with the setting of 200 on the second timer (AlertTimerLast) then what it does is the following.


It sounds on 200 sec remaining, but then it sounds again at:
180
120 and
60


If I put it on 70 sec then it sounds at:
70 and
60


I've tested it from 65 - 62 (each value separatly, with the same result) . It then sounds at:
65 and
60

64 and
60

63 and
60

62 and
60


If I put it on 61 then it sounds on:
60 and
nothing else


From 60 and below it sounds at that value, and nothing else!


It has to be the code I believe.

We all struggle to make tomorrow look like yesterday!
Get rid of your past and let the future unfold from the now.
Past performance is not indicative of future results.
/George
Reply With Quote
 
  #7 (permalink)
Elite Member
Sweden
 
Futures Experience: Master
Platform: TT, NT, MetaTrader
Broker/Data: Velocity Futures, MB Trading
Favorite Futures: EUR/USD
 
George's Avatar
 
Posts: 401 since Jun 2009
Thanks: 1,005 given, 1,167 received

Bukkan,

Thank your for your answer. Unfortunately I lack the skills that could make me help myself further with your indications.

So if you wish and are able to, would you please explain a little bit more and maybe give some more instructions on how to make that change!

Thank you in advance.



bukkan View Post
.net maps timer interval in milliseconds.

in your code (line 335) the interval is set as:
 
Code
timer.Interval = 1000;
this essentially means the timer ticks every seconds. if you want to tick it every 5 seconds it should be 5000 and if every 200 seconds it should be set at 200000.

Timer.Interval Property (System.Timers)

cheers

edit: the timer basically refreshes the chart every one sec. so you cant change the timer interval. you have to make changes in the SoundTimerAlert method.


We all struggle to make tomorrow look like yesterday!
Get rid of your past and let the future unfold from the now.
Past performance is not indicative of future results.
/George
Reply With Quote
 
  #8 (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

hehe - well - you are right
with numbers above 60 sec its behaving in an other way somehow - with double sounds or so

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #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

i think look for "TimeLeft" - its an own little free app - outside of NT
that does more what you need i think.

it plays sound or opens a popup or whatever every "time-period you want"

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #10 (permalink)
Elite Member
Sweden
 
Futures Experience: Master
Platform: TT, NT, MetaTrader
Broker/Data: Velocity Futures, MB Trading
Favorite Futures: EUR/USD
 
George's Avatar
 
Posts: 401 since Jun 2009
Thanks: 1,005 given, 1,167 received



max-td View Post
i think look for "TimeLeft" - its an own little free app - outside of NT
that does more what you need i think.

it plays sound or opens a popup or whatever every "time-period you want"


Max,

Thanks for the idea! Greatly appreciated!

We all struggle to make tomorrow look like yesterday!
Get rid of your past and let the future unfold from the now.
Past performance is not indicative of future results.
/George
Reply With Quote

Reply



futures io > > > > > Please, I need help with timer on WoodiesCCIpanel

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar Timer Indie trs3042 NinjaTrader 9 May 8th, 2012 09:31 PM
Trade Timer DennisA The Elite Circle 8 February 14th, 2012 05:36 AM
Millisecond timer event arjfca EasyLanguage Programming 5 July 3rd, 2011 07:37 AM
Tick Bar Timer lawtan NinjaTrader 2 December 7th, 2010 07:51 AM
Movable Bar Timer NT7 trs3042 Traders Hideout 3 November 17th, 2010 03:51 PM


All times are GMT -4. The time now is 09:51 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-12 in 0.19 seconds with 20 queries on phoenix via your IP 54.90.92.204