Reset after DrawLine Touched - futures io
futures io futures trading



Reset after DrawLine Touched


Discussion in NinjaTrader

Updated
    1. trending_up 907 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Reset after DrawLine Touched

(login for full post details)
  #1 (permalink)
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 20 received

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)
Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Neurological explanations for trading Success
Psychology and Money Management
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
What blockvolume is visible? - order processing
NinjaTrader
 
 
(login for full post details)
  #3 (permalink)
Cedar Rapids, iowa
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Trading: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 593 since Aug 2009
Thanks: 430 given, 1,142 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:
 
(login for full post details)
  #4 (permalink)
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 20 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."


Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Cedar Rapids, iowa
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Trading: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 593 since Aug 2009
Thanks: 430 given, 1,142 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.
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:
 
(login for full post details)
  #6 (permalink)
Roseville CA
 
Experience: Advanced
Platform: N7
Broker: Amp Futures/CQG
Trading: ES
 
Posts: 124 since Jun 2009
Thanks: 32 given, 20 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!

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Reset after DrawLine Touched


Last Updated on February 10, 2014


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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