Forum

Repeating process at different prices?

At the moment I have some very overly convoluted code which is repeating a process at different prices with different ticket numbers etc. I am a bit lost as to finding out a way to get the code to repeat, but at a new price (if this is possible?) Hopefully it is clear from what I have posted. The

Order Send if previous order is opened?

I am trying to work out the best way to say: if a certain ticket is opened, then open a new pending order. I am having trouble with order selects and finding tickets in previous functions so help would be much appreciated. I want to say : if ticket3 is open, OrderSend ticket4 . Many thanks! bool

Help with simple issue?

extern int StopLoss = 200 ; int OnInit () { double StopLossLevel; double price= 1.87550 ; double lotsize1= 0.01 ; StopLossLevel = price+ 0.0050 - StopLoss* Point ; Alert ( "Welcome!" ); int ticket; ticket = OrderSend ( Symbol (), OP_BUYSTOP,lotsize1,price, 10 , 0 , 0

Very Basic Questions for First EA

Hello, Please forgive my ignorance with all of this. I have started to learn mql4 a couple of days ago and I have no previous coding experience. I was very proud of my first script when I realised that I misunderstood how scripts work. Of course what I need is an EA. The basis of what I need it to

Hiring to write script

I am looking to hire someone to write a simple script that I can edit and use within mql5. The script needs to: set stop loss for existing order as well as create pending order when a bid/ask price is hit. Thanks