Heikin-Ashi Strategy

Strategies are published here.

Moderator: admin

Re: Heikin-Ashi Strategy

Postby rtsayers » Fri Sep 27, 2013 12:00 pm

Thanks for the smoothing but I wanted to be able to put in the amount of smoothing like the indicator from 1 to 100 parameters.


Thanks
rtsayers
FXCodeBase: Initiate
 
Posts: 119
Joined: Sat Jan 29, 2011 12:45 am


Re: Heikin-Ashi Strategy

Postby amazon1a » Sun Sep 29, 2013 7:03 am

Hi Apprentice, This is fantastic!! Now can you do the same for MTF HA? Thanks for all your hard work, AG
User avatar
amazon1a
 
Posts: 90
Joined: Wed Oct 05, 2011 10:47 am

Re: Heikin-Ashi Strategy

Postby Apprentice » Sun Sep 29, 2013 7:36 am

I need a bit more info,
which MTF HA, provide a link...
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heikin-Ashi Strategy

Postby amazon1a » Mon Sep 30, 2013 11:35 am

Hi Apprentice, Here is the one that I am using. I typically smooth the HA indicator n_1 or 2.

viewtopic.php?f=31&t=24198&hilit=MTF+HA+Strategy

Thanks, AG
User avatar
amazon1a
 
Posts: 90
Joined: Wed Oct 05, 2011 10:47 am

Re: Heikin-Ashi Strategy

Postby Apprentice » Wed Oct 02, 2013 3:38 am

Your request is added to the development list.
As for combo, can you specify the rules.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Heikin-Ashi Strategy

Postby oisin12 » Wed Oct 23, 2013 9:47 am

Hi, do you think it would be possible to add the option to close a position when the candle reverses but not open a new position?

At the moment if the strategy is set to trade on both directions a reversed position will open when the candle closes in the opposite colour but if the strategy is set to trade in only one direction and the candle reverses before it hits either the stop of limit the position stays open.

Thanks,
Oisin
oisin12
 
Posts: 15
Joined: Thu Feb 28, 2013 4:54 pm


Re: Heikin-Ashi Strategy

Postby Outside_The_Box » Sun Nov 17, 2013 4:23 am

I almost hate to ask this because I'm really getting the hang of Strategy Wizard, but can someone add a moving average based filter to this? I'd like to use 2 daily EMA's, one fast, one slow. As long as the daily fast EMA is above the daily slow EMA then longs are allowed. Reverse for shorts. Entry is based on H4 Heiken Ashi candle.

Here's the logic I have in Strategy Wizard for the entry:

HeikenAshi_H4.open( 0 ) < HeikenAshi_H4.close( 0 ) .and. HeikenAshi_H4.open( 1 ) > HeikenAshi_H4.close( 1 )


Here's the logic from the HA Strategy

Code: Select all
if  indicator.open[period] <   indicator.close [period] and indicator.open[period-1] >  indicator.close [period-1]  then
BUY= true;


It's exactly the same logic as the HA Strategy (from this site) but for some reason it isn't working on my strategy. I am at a loss.
User avatar
Outside_The_Box
 
Posts: 31
Joined: Tue Apr 02, 2013 5:33 pm

Re: Heikin-Ashi Strategy

Postby oisin12 » Wed May 14, 2014 1:34 pm

Apprentice wrote:
HA Strategy.png


With a simple HA signals,
strategy supports the definition of Trigger Level,
in either a PIP or as a percentage, on price or Heikin-Ash indicator.

If the trigger level is not reached, the strategy will not enter the trade.

HA Strategy.lua

HA with smoothing Strategy.lua


Hi, Any chance there is a version of the strategy (without smoothing) that actually does the opposite? Open a long on the close of a red candle and opens a short on the close of a green candle

Thanks,
Oisin
oisin12
 
Posts: 15
Joined: Thu Feb 28, 2013 4:54 pm

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 93 guests