Specifiche
i want an ea to run on offline ranko chart:
indicators involved as external bool drop box:
-heiken ashi arrows
- mindherosound
-EMA 1
-EMA 2
- (renko condition)
.extern -spread filter (as pips)
.extern -days filter (as bool)
.extern - time filter (as time)
.extern -lots = % balance or equity (drop down choice)
.extern -trailing stop loss
.extern -stoploss
.extern -takeprofit
.extern -EMA 1 ( period open price)
.extern EMA 2 ( period open price)
OPEN TRADES:
.based on activated indicators also
BUY:( if following conditions occur at previous bar)
- (renko condition) -renko bar2 is red and renko bar1 is green and renko bar0 is not yet closed
- EMA 1 cross above EMA 2
-heiken ashi arrows up
-mindherosound up arrow
- heiken ashi is buy (white)
SELL ( if following conditions occur at previous bar)
- (renko condition) -renko bar2 is green and renko bar1 is red and renko bar0 is not yet closed
-EMA 1 cross below EMA 2
- heiken ashi arrows down
-mindherosound arrows down
- heiken ashi is sell (red)
CLOSE TRADES:
close sell
.extern -time of day
.extern -day of week
- (renko condition) -renko bar2 is red and renko bar1 is green and renko bar0 is not yet closed
close buy
.extern -time of day
.extern -day of week
- (renko condition) -renko bar2 is green and renko bar1 is red and renko bar0 is not yet closed
ALL INPUT VALUES AT DEFAULT OF ZERO AND BOOL FALSE