I have been having some fun with this basic buy-sell indicator. Could someone add a pop-up alert to it (silent).
Grateful thanks!
Grateful thanks!
Attached File(s)
buy-sell-signals.mq4
3 KB
|
395 downloads
I will code your pivot EAs for no charge 24 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked...have the 10:00 candle defined...high of the current closed candle at 10:00...Ignored
//hour setting int hour = 10; //target day int i_day = 0; //add the hour to the time of the target day long time_hr = iTime(for target day)+hour*60*60; //dont proceed if that time is still in the future //dont proceed if that time is within 1hr of live ie currently forming if(Time[0]<=time_hr+1*60*60)return; //get the candle index that includes that time on the 1hr tf int i_on_hr_tf = iBarShift(on 1hr tf at time_hr); //get the high price double high_hr = iHigh(on 1hr tf at i_on_hr_tf);
Disliked{quote} Written another way, your setup is basically: a_limit = 2; a_sl = 0; b_limit = 3; b_sl = 1; c_limit = 4; c_sl = 2; When price reaches limit x, move to sl y. Say for a buy order, if you dont want the A condition to be re-triggered when price falls back below the B region, you can include in the check for the A condition, that price hasn't moved higher than the B limit, because if price has moved higher than b_limit, then a_limit would have been triggered. Something like- //A for buys if(price>=a_limit, and the highest-high since the order...Ignored
Disliked{quote} Steps would be to get a target time to use, then get the index of a candle on a particular tf you want, that includes that time, and then get the ohlc at that index. Something like- //hour setting int hour = 10; //target day int i_day = 0; //add the hour to the time of the target day long time_hr = iTime(for target day)+hour*60*60; //dont proceed if that time is still in the future //dont proceed if that time is within 1hr of live ie currently forming if(Time[0]<=time_hr+1*60*60)return; //get the candle index that includes that time on the...Ignored
DislikedHello again, I have had Mr Tanaka on soehoe write an ea based on Mr Tom Hougaard advanced school run strategy, and we are still working out the kinks. The logic is simple, the dax gives us one signal bar a day, presents at 720 gmt, 20 min into the frankfurt open, and is based on total price range between 715 and 720 on the 5min chart, we can take a short entry at break below and long entry at break above, and the stop is set at the opposite end of the price bar, the 4th 5min bar to be exact.. The logic is based on research from Al Brooks and Larry...Ignored