Help to make EA work in Period Converter offline chart

 

Hi,

i'm trying to make an ea work in a period converter offline chart.

I try to hardcode the Symbol, enter all the routine in a infinite loop.

It seems that the EA doesn't receive any feed from the chart.

The same EA work in other offline chart like Renko or RAnge.

Can someone give me a solution.

Thank you.

Regards,

 
dasio:
Hi,

i'm trying to make an ea work in a period converter offline chart.

I try to hardcode the Symbol, enter all the routine in a infinite loop.

It seems that the EA doesn't receive any feed from the chart.

The same EA work in other offline chart like Renko or RAnge.

Can someone give me a solution.

Thank you.

Regards,

A code that is doing that would need to be revised. Without the code all are wild guesses

 
mladen:
A code that is doing that would need to be revised. Without the code all are wild guesses

kk

Below a little example of an ea. The time never change when i load the EA the time is correct but it never change with new bar.

int OnInit()

{

//---

EventSetMillisecondTimer(50);

//---

return(INIT_SUCCEEDED);

}

//+------------------------------------------------------------------+

//| Expert deinitialization function |

//+------------------------------------------------------------------+

void OnDeinit(const int reason)

{

//---

EventKillTimer();

}

//+------------------------------------------------------------------+

//| Expert tick function |

//+------------------------------------------------------------------+

void OnTick()

{

//---

}

//+------------------------------------------------------------------+

void OnTimer(){

Comment(Time[0]);

}

 

HI

Please can you help me in making an EA with bollinger bands

Buy when price touch the upper band and sell when it touches the lower bands

TP 50

SL 51

Thanks you very much for your help

 
mayoune08:
HI

Please can you help me in making an EA with bollinger bands

Buy when price touch the upper band and sell when it touches the lower bands

TP 50

SL 51

Thanks you very much for your help

mayoune08

Check this thread : https://www.mql5.com/en/forum/178926

 

Thanks malden for replay but this thread doesnt match with what i m looking for.

I need a simple EA based on bollinger bands with stop loss 50 and take profit 51 bbands periode 20 with deviation 2 and if it's possible trailling 10

Thanks again for your help

BR

mladen:
mayoune08 Check this thread : https://www.mql5.com/en/forum/178926
 

thanks malden for the thread but it doesnt match with what i m looking for

Need a simple EA based on bollinger bands TP 51 SL 50 trailling 10 buy when touches upper band buy when touches lower band

Thanks again for your help

BR

 
mladen:
A code that is doing that would need to be revised. Without the code all are wild guesses

Hi Mladen

I have a problem with the P4L Period Converter. I tried to put it on a 1 min chrt as indicator and also as EA but nothing to see on the chart. What could be the Problem? I use a rather new version of ETX Meta 4.

Thanks for your help.

 
wolfsch:
Hi Mladen

I have a problem with the P4L Period Converter. I tried to put it on a 1 min chrt as indicator and also as EA but nothing to see on the chart. What could be the Problem? I use a rather new version of ETX Meta 4.

Thanks for your help.

wolfsch

It does not need to show anything on chart

You have to open the offline chart that is created by P4L Period Converter.