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


Finding a Heikin Ashi Doji?
Updated: Views / Replies:559 / 2
Created: by netarchitech 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, 5 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, 5 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 10: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, 5 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)

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May
 

EasyLanguage ABC's: Mastering TradeStation Programming w/Chris Kaiser

Elite only
 

Prototyping Python Strategies (part 2: Backtesting) w/Ran Aroussi [special time: 1PM ET]

Elite only
 

Portfolio Diversification w/Brendon Delate @ Diversify Portfolio

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

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


All times are GMT -4. The time now is 01:03 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-05-23 in 0.06 seconds with 19 queries on phoenix via your IP 54.145.118.24