giobenoni
giobenoni
giobenoni
Added topic Performing a function after a change in value of a variable
Hellow, I hope somebody can help me :) I am storing a counter value in a variable. Each tick the value gets checked . For each time the value of the variable changes I want to perform a function. For example :  variable = 0 variable changes to 1
giobenoni
Added topic Knowing when certain orders are triggered
hellow, Probably this is a newbie question but here we go. I regardless the discussion whether this is a good idea or not, what I want to do is the following as below : Instead of a stoploss, once my long or short order is triggered I want to set a
giobenoni
Added topic adding to array
Hi everyone, For the first time i would like to use an array in my EA but i have no idea how to do it. I read a lot about the topic but I still don't understand how it actually works so I hope someone could be so kind to give me a push in the right
giobenoni
Added topic Plotting a series of dots
Hi, Just testing to draw dots on the chart in its simplest way. So i wrote this simple piece of code : void OnTick () {       SetParameters();    static datetime bar_time= 0 ;    datetime this_bar_time= iTime (
giobenoni
Added topic Only check price (or do certain actions) after each candle close
Hi, Probably newbie question (that's what i am), I would like to do certain actions (like check price, change variables) based on Candle close actions rather than on each tick. Could somebody provide me with sample code or another post for me to
giobenoni
Added topic Checking actions on a higher timeframe
Hi, I don't know whether this one is possible : Let's say our EA is doing trading operations on the M15 chart. Can we check for example the 200MA price & direction on the D1 within the EA, knowing it is working on the M15
giobenoni
Added topic Invalid volume size
Hi, I have a problem with invalid volume error with lot sizes over 200 lots,  but my balance is 324 lots. How could I avoid this?  Thx
giobenoni
Added topic cancelling one pending order when another one gets triggered
Hi, Sorry for probably an easy question but I just started learning how to mql5. Let's say I have two simple pending orders, a long and a short, waiting to get triggered trade.BuyStop(0.1,longpriceentry,_Symbol,LTP,LSL, ORDER_TIME_GTC );
giobenoni
Registered at MQL5.community