Cross Abv/Blw - Double arrow question - NinjaTrader Programming | futures io social day trading
futures io futures trading


Cross Abv/Blw - Double arrow question
Updated: Views / Replies:2,495 / 15
Created: by Al2010 Attachments:8

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

Cross Abv/Blw - Double arrow question

  #11 (permalink)
Trading for Fun
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 50 since Oct 2010
Thanks: 36 given, 10 received


gulabv View Post
Do you really need CalculateOnBarClose = false ?

The way this indicator is coded currently you could get multiple draw object painted on the chart for each 300 volume bar as the COBC = false setting analyzes your code on each incoming tick. I would think you want to set COBC = true so that your criteria is checked each time a bar completes. Not sure what you are trying to do so I can only speculate this might alleviate the problems you are seeing...

Hope this helps,
gulabv


Thank you for your advice. I forgot to reset COBC = true. This is how it ment to be COBC=true. But setting Calc on Bar Close = true does not help. All I'm trying to do is simply get every cross below/abv. if there is a lower high and cross below 80-70 false then I still would like to get an arrow at cross below 60-50...
My test case is Euro 300 volume chart-Jan-06-11 @13:10 (1:10 p.m) US Eastern time. There is a lower high on price and cross below 80-75 does not work. But cross below 60 will work. There is another case - 11/26-10 @ 2:23 a.m. where cross below 80 does not work but cross below 75 will work...
If you know any other way to complete this I'd appreciate if you share.
Thank you very much.

Reply With Quote
 
  #12 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: Zen-Fire
Favorite Futures: ZN, 6E
 
gulabv's Avatar
 
Posts: 284 since May 2010
Thanks: 159 given, 155 received

Al,

I have added some conditional logic to display only one arrow per direction (short/long).

Attached Files
Register to download File Type: cs MyStochArrow.cs (12.9 KB, 22 views)
Reply With Quote
The following user says Thank You to gulabv for this post:
 
  #13 (permalink)
Trading for Fun
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 50 since Oct 2010
Thanks: 36 given, 10 received



gulabv View Post
Al,

I have added some conditional logic to display only one arrow per direction (short/long).


Thank you very much! It seems to work finally. I need to test it more to be sure.
There is still another problem-the program is missing a lot of good crosses. The whole idea of using multiple if's... was about to get the arrow at every tradeable cross such as if there is lower high and cross blw 75-80% false then go deeper and look for deeper cross.
I do not know why but I see that Stoh.K clearly crossing 80% or below at many places but there is no arrow...
Thank you very much again. I truly appreciate your help!

Reply With Quote
 
  #14 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: Zen-Fire
Favorite Futures: ZN, 6E
 
gulabv's Avatar
 
Posts: 284 since May 2010
Thanks: 159 given, 155 received

I didn't really spend any time trying to understand the logic behind the code just added the flag to eliminate duplicate arros.
If I get some time over the weekend I will try to understand what you wrote and try to fix the indicator.
Always interesting to see how other futures.io (formerly BMT) members trade.
Thanks for sharing.

gulabv

Reply With Quote
The following user says Thank You to gulabv for this post:
 
  #15 (permalink)
Trading for Fun
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 50 since Oct 2010
Thanks: 36 given, 10 received


gulabv View Post
I didn't really spend any time trying to understand the logic behind the code just added the flag to eliminate duplicate arros.
If I get some time over the weekend I will try to understand what you wrote and try to fix the indicator.
Always interesting to see how other futures.io (formerly BMT) members trade.
Thanks for sharing.

gulabv


You are very kind, thank you.
Please see attached screen shots with missing arrows followed by some lower high examples.
The whole idea is based on TopDogTrading methodology, which I think is the best and most affordable etc...
Thank you very much.

Attached Thumbnails
Cross Abv/Blw - Double arrow question-missedcrosses.jpg   Cross Abv/Blw - Double arrow question-lowerhighexamples.jpg   Cross Abv/Blw - Double arrow question-majorcross_noarrow.jpg  

Last edited by Al2010; January 7th, 2011 at 11:41 PM.
Reply With Quote
 
  #16 (permalink)
Elite Member
Dallas, TX
 
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: Zen-Fire
Favorite Futures: ZN, 6E
 
gulabv's Avatar
 
Posts: 284 since May 2010
Thanks: 159 given, 155 received


Al2010 View Post
missing arrows followed by some lower high examples.

Must have to do with your checking the value of previous bar (K[1]) in addition to checking for the cross below the specific K value of the current bar. Check the values of K[1] for the missing arrows and see if the condition fails hence no arrow painted.

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

Reply



futures io > > > > > Cross Abv/Blw - Double arrow question

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
Double bottom and Double top with DIV benbrooke NinjaTrader Programming 36 December 6th, 2011 01:29 PM
DOUBLE DOUBLE STOCHASTICS Jeff Castille The Elite Circle 112 September 5th, 2011 12:40 AM
Up and Down Arrow for 3rd bar from 9SMA psb1967 NinjaTrader Programming 6 November 3rd, 2010 01:02 PM
Add arrow to any alerts in indicators emini_Holy_Grail NinjaTrader Programming 2 August 29th, 2010 01:02 PM
Need help to create an up/down arrow in panel 1(price/candle area) alex123 NinjaTrader Programming 3 September 28th, 2009 07:06 PM


All times are GMT -4. The time now is 03:53 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-17 in 0.09 seconds with 20 queries on phoenix via your IP 107.20.115.174