Forum

Different Indicator TimeFrame as Trigger signal in EA

I would like to use different indicator timeframe as trigger signal of an EA. For example I use indicator shown here with time frame of PERIOD_M1 as signal of an EA, then I attach the EA on a D1 period. Did I do it right? I tried this but the EA did not work properly. What is the missing code here

Indicator to count Bars of M1 Period that crisscross Open price of D1 Period

Greetings! I need help on this indicator. Been trying different method to count number of Bars in M1 Period that came across the level of Open price in the D1 Period. I attached my attempt to code it but unable to run it successfully. Been trying hard on this but I hit the wall so now I ask the help

Max-Min custom indicator hangs up the Metatrader

Hi, I need help on the attached custom indicator. Every time I attach to a chart in hangs up the MetaTrader and I'm forced to close it. What is wrong with the codes??? The indicator is to determine the Maximum and Minimum price at a given number of bars. #property indicator_separate_window //

How code indicator to count number of crossings of Moving Average with Open

I need help on coding an indicator to count number of crossings of Moving Average with Open. I attempted coding it but when I attached to a chart there was no value. The indicator should count when MA1 crosses above Open while MA2 is under

How to count total number of trades per bar?

I am new in EA programming and so happy when I first develop my first EA by reading from this forum. However my EA though doing what I like it to do been very efficient in trading every opportunity as instructed. When the market is volatile it trades so many in a day offsetting profit resulting in a