Reply

Would like to create an EA with a combination of coloured Heikin Ashi Candles?

1 replies

birdy70

Subscriber, bbp_participant, community, 25 replies.

Visit profile

7 years ago #112322

Hello everyone,

 

is it possible to create with EAW an EA with a combination of five coloured Heikin Ashi candles? You see an example for that strategy Idea on this Link and a Video about the combination here!

 

Buy Trade if 3 red HA Candles and 2 green HA Candles are following (were generated)

Sell Trade if 3 green HA Candles and 2 red HA Candles are following (were generated)

 

Hope you can help me with a instruction how to type this in EAW.

 

Best Regards,

Birdy70

0

Mark Fric

Administrator, sq-ultimate, 3 replies.

Visit profile

7 years ago #125247

Hello,

 

this is very simple.

 

Candle (any candle, not only HeikenAshi) is green when its Open Close.

 

So a condition where 3 red candles are followed by two green candles can be made like:

 

IF

Open[5] > Close[5]

and

Open[4] > Close[4]

and

Open[3] > Close[3]

and

Open[2] < Close[2]

and

Open[1] < Close[1]

THEN
do something
 
Numbers 5,4,3,2,1 are Shifts of respective candle.
Open[5] means open 5 candles ago.

Mark
StrategyQuant architect

0

Viewing 2 posts - 1 through 2 (of 2 total)