We follow the H1 or D1 Heikin Ashi Candle on the US30. When it turns BLUE we close all open sell trades and BUY, when it turns RED we close all open buy trades and SELL. We check the Candle every CheckSec seconds (or CheckMin minutes in D1 Mode), starting CheckSec seconds (or CheckMin minutes) after zero. If DojiBlocker is active, and the current candle is a Doji, we don't open new trades. In case of a Stakkato - more than XYZ color changes per minute / hour = trades per minute / hour - we suspend trading for StakkatoBreak minutes. Variables: ---------- Default CheckSec H1 Mode: Check Candle every X seconds 10 CheckMin D1 Mode: Check Candle every X minutes 5 DojiBlocker No trade on Doji Candles? true DojiWick Dojiwicklength in percent of Body 100 StakkatoCheck Too many trades per minute? true StakkatoMax How many trades per min is too many 3 StakkatoBreak Take a break for X minutes 1 TakeProfit 1.2 % StopLoss 0.4 % BreakEven 0.25 % Additional Features ------------------- If EA proves effective, following additional features shall be realized: Time Management: NYT (GMT-3) ----------------------------- NoTradeHourBegin Begin of no trading time 00:00 NoTradeHourEnd End of no trading time 03:00 NoTradeFriday No trading on friday? true or false DojiBreak Take a break in case of too many Doji Candles in a row true or false MaxDoji Maximum number of Dojis in a row before taking a trading break 3 DojiBreaktime How many Candles of no trading 10