Reset after DrawLine Touched - NinjaTrader Programming | futures io social day trading
futures io futures trading


Reset after DrawLine Touched
Updated: Views / Replies:544 / 5
Created: by ceramictilepro Attachments:1

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
 

Reset after DrawLine Touched

  #1 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

Reset after DrawLine Touched

Hello,

Attached is a working indicator that allows the following:

1) Draws a Line at requested Level that can be changed by dragging on chart without refreshing.
2) Once line is touched, an Email and/or Text is sent
3) Alert window is triggered
4) Custom email/text message can be included via indicator window


Here's what I can't seem to figure out...

The rearm function does not seem to work or I just don't understand what exactly it's supposed to do.

What I'm looking for is to have the indicator reset itself so it will trigger again after price moves away from it's intial trigger, then returns... that what I thought rearm supposed to do but guess not

any suggestion would be very helpful... I love this indicator and will submit it to the Elite once everthing is cleaned up!

Attached Files
Register to download File Type: zip BMTalert.zip (3.2 KB, 20 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
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 426 given, 1,126 received



ceramictilepro View Post
Hello,

Attached is a working indicator that allows the following:

1) Draws a Line at requested Level that can be changed by dragging on chart without refreshing.
2) Once line is touched, an Email and/or Text is sent
3) Alert window is triggered
4) Custom email/text message can be included via indicator window


Here's what I can't seem to figure out...

The rearm function does not seem to work or I just don't understand what exactly it's supposed to do.

What I'm looking for is to have the indicator reset itself so it will trigger again after price moves away from it's intial trigger, then returns... that what I thought rearm supposed to do but guess not

any suggestion would be very helpful... I love this indicator and will submit it to the Elite once everthing is cleaned up!

Hi,

The rearm function of the Alert is simply a time delay to prevent the alert from potential false triggers if the condition that caused the alert is still true. The help text says, "Sets the number of seconds an alert will rearm. If the same alert (identified by the id parameter) is called within a time window of the time of last alert + rearmSeconds, the alert will be ignored."

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
The following user says Thank You to Tasker_182 for this post:
 
  #4 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

thanks for that bit of information. can you tell me if it's possible to have this indicator reset itself after being triggered...seems like i have to F5 or refresh manually and not automatically.

thank you!


Tasker_182 View Post
Hi,

The rearm function of the Alert is simply a time delay to prevent the alert from potential false triggers if the condition that caused the alert is still true. The help text says, "Sets the number of seconds an alert will rearm. If the same alert (identified by the id parameter) is called within a time window of the time of last alert + rearmSeconds, the alert will be ignored."


Reply With Quote
 
  #5 (permalink)
Elite Member
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 426 given, 1,126 received


ceramictilepro View Post
thanks for that bit of information. can you tell me if it's possible to have this indicator reset itself after being triggered...seems like i have to F5 or refresh manually and not automatically.

thank you!

You can certainly have the logic reset itself. So you need logic that says alert detected and then you need to decide how you want to proceed. So if for example price has touched the level (lets just say going up to the level and touching it) and the indicator triggers, when do you want it to reset? When price clears the line above then comes back down? Does it alert on the way back down or only on the way up or both? Once you decide how you want it to operate you can then set up the programming in that way. I invite you to examine an indicator I recently modified for someone where there was a similar situation of a line being crossed setting off alert then waiting until line was crossed ion opposite direction to rearm the alert.
https://futures.io/elite-circle/1261-want-your-ninjatrader-indicator-created-free-477.html post #9521

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
The following user says Thank You to Tasker_182 for this post:
 
  #6 (permalink)
Elite Member
Roseville CA
 
Futures Experience: Advanced
Platform: N7
Broker/Data: Amp Futures/CQG
Favorite Futures: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 19 received

ok, did some searching and found this indicator "WilliamsRforDKHoward" that you built.

will take some time to get my head wrapped around how to incorporate the code into my indicator but it looks like you have some bools in there. not a programmer here for sure but like to tinker

thank you and will keep you posted!


Last edited by ceramictilepro; February 11th, 2014 at 12:46 AM.
Reply With Quote

Reply



futures io > > > > > Reset after DrawLine Touched

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
N7 DrawLine not working ceramictilepro NinjaTrader Programming 4 February 2nd, 2014 02:51 PM
DrawLine kaywai NinjaTrader Programming 4 December 5th, 2012 12:22 AM
Shorter vertical line with DrawLine Randwulf NinjaTrader Programming 3 May 3rd, 2012 08:49 AM
Does anyone know how to reset a multicharts demo? Treggs MultiCharts 15 November 25th, 2011 06:33 PM
RESET YOUR MOUSE FOR 2010 websouth Off-Topic 0 January 31st, 2010 11:24 PM


All times are GMT -4. The time now is 05:10 PM.

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-11 in 0.10 seconds with 20 queries on phoenix via your IP 54.226.132.197