Help to make EA work in Period Converter offline chart

To add comments, please log in or register
dasio
394
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,

Mladen Rakic
156150
Mladen Rakic  
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

dasio
394
dasio  
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]);

}

mokrani
14
mokrani  

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

Mladen Rakic
156150
Mladen Rakic  
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

mokrani
14
mokrani  

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
mokrani
14
mokrani  

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

wolf1210
481
wolf1210  
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.

Mladen Rakic
156150
Mladen Rakic  
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.

To add comments, please log in or register