tweezer - futures io
futures io


Discussion in NinjaTrader

      Top Posters
    1. looks_one traderwerks with 1 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (1 thanks)
    4. looks_4 abiritus with 1 posts (0 thanks)
    1. trending_up 977 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 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


(login for full post details)
  #1 (permalink)
Posts: 4 since Dec 2009
Thanks: 4 given, 1 received

I would like to draw a line betweene each tweezer(two same hight bars or two same low bars )
the programe :
// Check for Tweezer pattern
protected override void Initialize()
CalculateOnBarClose = true;
Overlay = true;
PriceTypeSupported = false;

protected override void OnBarUpdate()
if (CurrentBar < 2) return;
if (High[0] == High[1])
DrawLine("tag1",true, 2, High[0], 0, High[1], Color.Magenta, DashStyle.Solid, 5);
if (Low[0] == Low[1])
DrawLine("tag1",true, 2, Low[0], 0, Low[1], Color.Magenta, DashStyle.Solid, 5);
the result: only one line was drawn and i want that all two same higts and each two same lowers bars will be drawn in the chart
can someone helps ?

Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(79 thanks from 10 posts)
looks_twoSalao's Journalby Salao
(23 thanks from 5 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(15 thanks from 8 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(12 thanks from 7 posts)
looks_5Rogue MNQ 2/21 Journeyby RogueJoules
(0 thanks from 2 posts)
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
73 thanks
futures io site changelog and issues/problem reporting
71 thanks
Would You Sell Your System?
65 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
30 thanks
Big Mike in Ecuador
25 thanks
(login for full post details)
  #3 (permalink)
Site Moderator
sam028's Avatar
Posts: 3,669 since Jun 2009
Thanks: 3,789 given, 4,505 received

Add an unique tag for each DrawLine, not a simple "tag1".

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
The following user says Thank You to sam028 for this post:
(login for full post details)
  #4 (permalink)
Taipei Taiwan
Experience: Advanced
Platform: NinjaTrader
Broker: AMP Clearing
Trading: TW
Posts: 693 since Jun 2009
Thanks: 434 given, 464 received

Something like
"Tweezer" + CurrentBar
for the tag.

Math. A gateway drug to reality.
Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > tweezer

Last Updated on August 22, 2011

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1,800 in prizes!


Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

Elite only

Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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