EA events in MQL4? (Trade, Timer and so on...)
-
One of the MQL5 advantage is that there are more event functions available. OnTrade or OnTimer... more here: http://www.mql5.com/en/docs/basis/function/events
The 3 basic events in MT4 are well known - Init, Deinit and Start (Tick).
What is strange for me... in FxDreema there is a Timer event that actually doesn't work right now (never worked, it's just something that is left unfinished), but no one ever told me that he needs it.With some crazy MQL4 manipulations I think it's possible for some events to be created. "Trade" event like in MQL5 for example. But do someone needs that? Do someone use "Trade" event for MT5 projects?
-
I think it would be useful.
It would really help in organizing the coding space of the browser.
Now I segment my code for those code blocks I execute for each tick on the right side, and those for each bar on the left side.
I further segment code blocks from the top down separated by 'empty blocks' by event.
If FxDreema had selectable event tabs next to "init, deinit, start", I could improve the structure of my coding logic.
-
How to genarate EA using CCI Arrow indicator.
Up arrow then open buy order (Only Open Price) and Down arrow then open Sell order (Only Open Price).
please help to create that EA...

Attach Indicator
......
CCIarrow.zip -
I believe this should work (load attached .xml file into fxDreema)... but unfortunately I can't get values from this indicator in EA

If you know MQL4 a little, you can try to get values with:
Alert(iCustom(Symbol(),0,"CCIarrow", 14 ,0,0));But this always gives me 0, even when arrow exists.
This indicator has one input parameter, three buffers (0 -> %(#0000FF)**, 1 -> %(#FF0000)[Red], 2 -> %(#00FF00)[Green]), but they didn't work...