NexusFi: Find Your Edge


Home Menu

 





Alert For One Tick


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Abusamjad91 with 6 posts (1 thanks)
    2. looks_two 00cedge with 3 posts (3 thanks)
    3. looks_3 tradevcode with 1 posts (0 thanks)
    4. looks_4 trendisyourfriend with 1 posts (0 thanks)
    1. trending_up 2,899 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

Hello everyone,

Help with the construction of a simple indicator. I tried but had no luck. This indicator will alert if the new candle forming passes one tick above/below the previous candle's open price(I think)? I might be off on the wordings but I attached a photo of what it will accomplish. I would appreciate anyone's contribution. The alert system should be a sound and a triangle up/down for visuals. I believe this can be a handy indicator. Note this will be tick based and the print will remain regardless if the candle retracts.
To summarize, if the current candle crosses one tick above/below the previous closed candle, an alert should be issued.

Thank you
Abdus


Attached Thumbnails
Click image for larger version

Name:	Screenshot (153).png
Views:	191
Size:	20.9 KB
ID:	318883  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 tr8er 
Europe
 
Experience: Advanced
Platform: SierraChart, BookMap
Trading: ES, CL, 6E, 6B
Posts: 686 since Jan 2017
Thanks Given: 230
Thanks Received: 728

Sorry, I cannot help with programming, but if I watch the picture, the alert should happen 1 tick below the highest bar (uptrend) and 1 tick above the lowest bar (downtrend)


Reply With Quote
  #3 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,581 since Oct 2009
Thanks Given: 4,267
Thanks Received: 6,208


Price needs to close to trigger an alert otherwise their would be too many false alerts.


Reply With Quote
  #4 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

@trendisyourfriend I totally agree that this would set off too many false alerts. What if it was structured to alert only once if conditions were met and then not to alert twice on same candle or to re-arm after some seconds to reduce the frequency of alerts?


Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

@tr8er Thank you for your insight. For this kind of bar what you say to true.


Started this thread Reply With Quote
  #6 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

I'm pretty sure this is possible the closet I have gotten to this is with a paid indicator. It does the following but after having a lot of settings changed to it I was able to match it up with at least one unirenko bars but it is just a hassle to get it to alert properly on every unirenko setting. I'm still in the testing stages. That is the reason I posted here to have an indicator made that could do this and would work on every unirenko bar without really having to change the settings. It doesn't have to be limited to unirenko bars but just have that alert system.


Started this thread Reply With Quote
  #7 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

@00cedge

Thank you so much. I'll be trying it out.


Started this thread Reply With Quote
  #8 (permalink)
 Abusamjad91 
San Francisco California
 
Experience: None
Platform: NinjaTrader
Trading: futures
Posts: 76 since Oct 2020
Thanks Given: 57
Thanks Received: 60

@00cedge

It works great! The arrows are printing really far because I trade the 6E. I'd like it even more if you wouldn't mind having the arrows offset in the o.1-5 range. Thank you once again.


Started this thread Reply With Quote
  #9 (permalink)
 00cedge 
South Africa
 
Experience: Advanced
Platform: NinjaTrader
Broker: NT Brokerage
Trading: ES
Posts: 23 since May 2015
Thanks Given: 20
Thanks Received: 56

CandleRangeTrigger.cs

Sorry here's the source version. Add to a folder: "Documents\NinjaTrader 8\bin\Custom\Indicators\Cedge"


Reply With Quote
Thanked by:




Last Updated on November 18, 2021


© 2026 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 - Downloads - Top
no new posts