Finding a Heikin Ashi Doji? - ThinkOrSwim | futures.io
futures.io futures trading


Finding a Heikin Ashi Doji?
Started: by netarchitech Views / Replies:367 / 2
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Finding a Heikin Ashi Doji?

  #1 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received

Finding a Heikin Ashi Doji?

Given:
haclose = (open + high + low + close) / 4;
haopen = compoundValue(1, (haopen[1] + haclose[1]) / 2, (open[1] + close[1]) / 2);

Is it possible to find results for haclose = haopen using a Stock Hacker scan?

Thanks in advance...

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received

Tried this:
def haclose = (open + high + low + close) / 4;
def haopen = compoundValue(1, (haopen[1] + haclose[1]) / 2, (open[1] + close[1]) / 2);
plot hadoji = haclose is equal to haopen;

Passes syntax test, yet "no matching symbols" on various timeframes...

Also tried creating a custom study, HADoji(), using thinkscript above, then entering HADoji() is true in Stock Hacker...

Still "no matching symbols" on various timeframes...

Any thoughts?


Last edited by netarchitech; July 16th, 2016 at 11:27 AM.
Reply With Quote
 
  #3 (permalink)
Trading Apprentice
NY, NY
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks, ETFs
 
Posts: 30 since Dec 2011
Thanks: 19 given, 4 received


I've received the solution shown below for those whom might be interested...

Just set your doji equal to a range, say the close is within 1% of the open.
 
Code
plot HAdoji = HAclose >= 0.99 * HAopen AND HAclose <= 1.01 * HAopen;

Thanks to Robert for his assistance and solution...

Reply With Quote

Reply



futures.io > > > > Finding a Heikin Ashi Doji?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heikin-Ashi Chart Code futat MultiCharts 6 April 9th, 2016 11:19 PM
Heikin Ashi Trend Charting - A thank to FatTails macguy NinjaTrader 14 April 29th, 2015 09:12 AM
Heikin ashi jguellbo TradeStation 2 April 26th, 2015 05:54 AM
Heikin Ashi Smoothed code help (Color) afoxperson ThinkOrSwim 3 February 19th, 2015 08:50 AM
Using Heikin Ashi candels in real time. Srq1 Traders Hideout 17 December 14th, 2012 01:06 AM


All times are GMT -4. The time now is 03:13 PM.

no new posts
Page generated 2017-01-23 in 0.07 seconds with 19 queries on phoenix via your IP 54.166.75.80