Create buttons that work in MT4 & MT5 Live, Demo & Back test
-
Linked below is button projects that don't use custom code, unfortunately edit fields don't work on MT5 back test, the buttons do and all works on demo/live.
There are other buttons that do nothing in this project but, they are there so a true/false bool condition can be put in a standard buy/sell tree, to start/stop trading from pressing a button.
MT4: MT4 PROJECT
MT5 (edit fields don't work on back test): MT5 PROJECT
-
Simply EXCELLENT! Thank you for this Tutorial.
-
@l-andorrà Your welcome
-
@jstap Could you explain deeply how to understand your incredible work?
-
@uriel-0 Am not explaining everything, but ask me any specific points you would like to know.
-
Excellent work on this EA. My one issue is when I use it i get defaulted to 0.01 lot size. Please how do I fix this?
Thx -
@samgeezy If back testing MT5 put it in the inputs, otherwise put it in the on screen edit field.
-
@jstap thnaks for the quick response. Im a newbie at this. Inputs? On screen edit field?
-
@samgeezy Inputs are the options you can change, the edit field is on the right of the screen.
-
@jstap Can you share mq4 file ? I want to pay for fxdreema but now im learning. This is what im looking for for my ea.
-
@tpieczka Share a shared project to look at
-
@jstap At this moment im trying to build ea with:
1,2 buttons: normal buy, sell by mouse click
3 button StochON ----> then buy or sell if indicator (arrow) is visible on candle 1 ---> automatically
on the same button StochOFF ------> EA do nothing even if indicator (arrow) is visible
4 on button ZLHullON -----> the same as Stoch
on the same button ZLHullOFF is depressed -----> EA do nothing even if indicator gave a signal
5 button EMA ---> EA should open a positions with conditions above but only long if price is over definied EMA
(indicator) or only short if below EMA
on the same button EMA_OFF if depressed ----> EA trade without EMA`s
6 Button ----- > Breakeven + spread
7 Button -----> Trailing by candle size (Renko constans size, adjustable)
8 button Close tradeStill searching how to work with buttons, how to stops parts of ea with button position (pressed, depressed).
Im trading on DAX but its too fast price movements - it must be control by ea
Short SL, short TP M1, RenkoPozdrawiam
-
@tpieczka A shared project is the only wat to see what's been done, buttons don't work as well back testing on MT5 as they do on MT4
-
@jstap https://fxdreema.com/shared/5UYWD9c2c
It
s working, buying and selling if indicator (Stoch) appears, constans SL and TP and Lot (its not a problem).
Indicator ZLHull not connected yet.
Im totally newbie, few days ago i have found FXDreema...This EA must be controlled mostly manually depending on market conditions
-
@tpieczka So your drawing a button but not using? once per bar needs to go below your indicator block. create a fresh question for this.
-
@jstap consulta para que se coloca este bloque  -
@tpieczka hola así quedarían los dos botones de compra y venta y una ventana para modificar el lot de la orden, en la ventanita podrás modificar el lote de la orden introduciendo un valor mayor a 0.01
para modificar los otros parámetros de la orden como el tp y el sl se haría igual solo habría que crean una variable para cada uno
https://fxdreema.com/shared/j72GyetAd -
@alan-paredes2 hi, i'm almost done