Programing indicator, close line if it has been touched - NinjaTrader | futures io social day trading
futures io futures trading


Programing indicator, close line if it has been touched
Updated: Views / Replies:1,661 / 16
Created: by matevisky Attachments:5

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

Programing indicator, close line if it has been touched

  #1 (permalink)
Mate
Budapest, Hungary
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: TopstepTrader
Favorite Futures: NQ, TF, YM
 
matevisky's Avatar
 
Posts: 469 since May 2013
Thanks: 632 given, 1,544 received

Programing indicator, close line if it has been touched

I have some programing skill, but it is getting rusty, so it would be great, if someone can help me out. I am using different S/R levels. All these levels based on highs/lows etc... but all these levels are negated, if it has been touched by the price action. I dont know is there any indicator which is doing like this (I do remember gomi using lines for naked levels like this). So the question is that, is someone has a template to do this, or has simular thing to do this?

Thank you in advance!

Reply With Quote
 
  #2 (permalink)
Elite Member
Irvine, CA
 
Futures Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: Piano, ES, GC, CL, NQ, 6E
 
Posts: 21 since Feb 2011
Thanks: 5 given, 4 received

You could loop through the last x number of bars and compar the high and low of those bars and see if your price falls inbetween. This way you can control how far back you want to check it tye line has been touched or not

Reply With Quote
 
  #3 (permalink)
Mate
Budapest, Hungary
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: TopstepTrader
Favorite Futures: NQ, TF, YM
 
matevisky's Avatar
 
Posts: 469 since May 2013
Thanks: 632 given, 1,544 received

I am trying to do it alone


Yesterday I have been checked almost every indicator on the site, and I have not find any of these requirment. So I have been started to do it alone. If I am ready I will do the upload ofcourse on the site, till that finger crossed

Máté
Full time traderLive journal here
Reply With Quote
 
  #4 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


matevisky View Post
Yesterday I have been checked almost every indicator on the site, and I have not find any of these requirment. So I have been started to do it alone. If I am ready I will do the upload ofcourse on the site, till that finger crossed


Your description is not very clear. Actually I do not understand what you look for. Best you attach a chart, as the picture might help to decipher your ideas.

I have an indicator that plots naked highs and lows. Those highs and lows are either ETH or RTH highs and lows from prior trading days. The highs and lows are plotted until they are touched and will disappear at the end of the trading day during which they were taken out.

Is that what you look for, or do you plot intraday levels?

Reply With Quote
 
  #5 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,220 since Jun 2009
Thanks: 628 given, 6,318 received
Forum Reputation: Legendary


matevisky View Post
I have some programing skill, but it is getting rusty, so it would be great, if someone can help me out. I am using different S/R levels. All these levels based on highs/lows etc... but all these levels are negated, if it has been touched by the price action. I dont know is there any indicator which is doing like this (I do remember gomi using lines for naked levels like this). So the question is that, is someone has a template to do this, or has simular thing to do this?

Thank you in advance!

you will find the code you need in this one https://futures.io/elite-circle/1261-want-your-ninjatrader-indicator-created-free-565.html#post245369

Reply With Quote
 
  #6 (permalink)
Mate
Budapest, Hungary
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: TopstepTrader
Favorite Futures: NQ, TF, YM
 
matevisky's Avatar
 
Posts: 469 since May 2013
Thanks: 632 given, 1,544 received


Fat Tails View Post
Your description is not very clear. Actually I do not understand what you look for. Best you attach a chart, as the picture might help to decipher your ideas.

I have an indicator that plots naked highs and lows. Those highs and lows are either ETH or RTH highs and lows from prior trading days. The highs and lows are plotted until they are touched and will disappear at the end of the trading day during which they were taken out.

Is that what you look for, or do you plot intraday levels?

Thank you for jumping in. I am looking for All the Lows, and Highs, from previus days, till it is not broken. Why? you can ask. I was using a lots of fibs tool, session pivots, and all the stuff to plot areas. Sometimes these are working sometimes not. But I have been realized, most of the cases, the previus days highs and lows are most likely going to be broken. Ofc you can always point out it was a fib level, you can always point out, that was a trading pit pivot, that was a volume profile PointOfControll.

But I would like to have clarity. I dont need too much levels, only the highs, lows, and closes (naked GAPs) till it is not broken. Valhalla future indicator has a simular stuff, with a lots of other stuff together, what I dont really need:
Valhalla Futures - Software

Opening Range bar is a usefull stuff as well.

The second problem which is comming is the session time ofc. You are not able to plot the globex H/L if that is not in the session template. I have seen your indicators, and my biggest issue (i dont know is that solveable or not) to have a globex high and low without showing it in the session. I believe there is no possibility to do this (only with workarounds, to getting information from another chart)

Hope it has been clarified

Máté
Full time traderLive journal here
Reply With Quote
 
  #7 (permalink)
Mate
Budapest, Hungary
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: TopstepTrader
Favorite Futures: NQ, TF, YM
 
matevisky's Avatar
 
Posts: 469 since May 2013
Thanks: 632 given, 1,544 received



Yip, thx, it is a great start! Not fully what I need, but a very nicely down thing, to start! Thank you!

Máté
Full time traderLive journal here
Reply With Quote
 
  #8 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer


matevisky View Post
Thank you for jumping in. I am looking for All the Lows, and Highs, from previus days, till it is not broken. Why? you can ask. I was using a lots of fibs tool, session pivots, and all the stuff to plot areas. Sometimes these are working sometimes not. But I have been realized, most of the cases, the previus days highs and lows are most likely going to be broken. Ofc you can always point out it was a fib level, you can always point out, that was a trading pit pivot, that was a volume profile PointOfControll.

But I would like to have clarity. I dont need too much levels, only the highs, lows, and closes (naked GAPs) till it is not broken. Valhalla future indicator has a simular stuff, with a lots of other stuff together, what I dont really need:
Valhalla Futures - Software

Opening Range bar is a usefull stuff as well.

The second problem which is comming is the session time ofc. You are not able to plot the globex H/L if that is not in the session template. I have seen your indicators, and my biggest issue (i dont know is that solveable or not) to have a globex high and low without showing it in the session. I believe there is no possibility to do this (only with workarounds, to getting information from another chart)

Hope it has been clarified


If you look back over a longer period, naked highs and lows will be affected by rollover gaps. Therefore the question is whether

-> you use a merged backadjusted chart (which shows readjusted naked highs and lows)
-> or whether you use a merged, non-backadjusted chart (which shows the original values for highs and lows from the old contract months)

If you look at ES 12-14 today, you will find

-> a naked gap from May 21, if you use a backadjusted chart
-> naked lows from May 15, 16 and 20, if you use a merged chart, which is not backadjusted


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #9 (permalink)
Mate
Budapest, Hungary
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: TopstepTrader
Favorite Futures: NQ, TF, YM
 
matevisky's Avatar
 
Posts: 469 since May 2013
Thanks: 632 given, 1,544 received


Fat Tails View Post
If you look back over a longer period, naked highs and lows will be affected by rollover gaps. Therefore the question is whether

-> you use a merged backadjusted chart (which shows readjusted naked highs and lows)
-> or whether you use a merged, non-backadjusted chart (which shows the original values for highs and lows from the old contract months)

Yip, make sense. Didnt consider this question at to to speaking frankly. I am using tick data, and it is automatically merged by ninja (guessing backadjusted by default).

But as I said! planing to use Minute chart, with clean RTH only data, to spotting different time levels, in case of tranding. My beliefe is more people using backadjusted data by default, so makes more sense for me to use that. Ofc there is no black or white answer never, and would be nice to analyse it, but not now

Do you have any observation on this topic?

What is the indicator here what you are using? It is very nicly spotting the important level as I see. And speaking frankly, for intraday trading these levels are comfirmations and not signals

Máté
Full time traderLive journal here
Reply With Quote
 
  #10 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



matevisky View Post
Yip, make sense. Didnt consider this question at to to speaking frankly. I am using tick data, and it is automatically merged by ninja (guessing backadjusted by default).

But as I said! planing to use Minute chart, with clean RTH only data, to spotting different time levels, in case of tranding. My beliefe is more people using backadjusted data by default, so makes more sense for me to use that. Ofc there is no black or white answer never, and would be nice to analyse it, but not now

Do you have any observation on this topic?

What is the indicator here what you are using? It is very nicly spotting the important level as I see. And speaking frankly, for intraday trading these levels are comfirmations and not signals

Not sure whether a naked high or low from May is observed by many traders. Maybe the index close is more important here than the futures, as it is not affected by rollover gaps.

The indicator uses RTH data only - although it is added to an ETH chart. You will note that if a naked high or low is broken during the night session, is is still considered as a naked high and the indicator continues to plot that high until it is taken out during the regular session. In case that price gaps up above a naked high without a retest during the following regular session, the naked high is shown as support and not as resistance (color change from green to red).

Prior day's close and open (the pair that forms a gap) is displayed until taken out on one of the following days. The indicator even displays them, if the gap has been immediately closed during the regular session.

Reply With Quote
The following user says Thank You to Fat Tails for this post:

Reply



futures io > > > > Programing indicator, close line if it has been touched

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
Add previous close line to thinkorswim charts intraday Depiero ThinkOrSwim Programming 3 January 7th, 2015 04:59 PM
plot vertical line at day session open and close... YertleTurtle NinjaTrader 3 April 12th, 2014 06:24 PM
1 min line on close $Tick chart please GridKing Traders Hideout 8 March 24th, 2014 05:14 PM
EMA 50 periods and the MACD zero line... close friends trendisyourfriend Platforms and Indicators 4 March 13th, 2012 03:58 PM
First Indicator programing, Text on graph >> Easy language / Multicharts arjfca The Elite Circle 2 September 22nd, 2010 10:05 PM


All times are GMT -4. The time now is 10:06 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.15 seconds with 40 queries on phoenix via your IP 107.20.115.174