all variables should be written without quotation marks
i said
all variables should be written without quotation marks
like this
OrderSend(Symbol(), OP_BUYSTOP, lots, TheHaut, 3, TheHaut - (stop * Point), TheHaut + (limite * Point), magic, 0, Blue);
qjol,
thank your for your help.
I did as you said and I compiled successfully but there is no pending order.appearing when I attached the EA...Did i do another mistake ?
Thanks a lot
qjol,
thank your for your help.
I did as you said and I compiled successfully but there is no pending order.appearing when I attached the EA...Did i do another mistake ?
Thanks a lot
Did you allow the EA to trade ?
Did you allow the EA to trade ?
Yes...I allowed it.
When I attach the Ea to the graph, I can see the date and the hour as I programed it but that's all...
It looks like it doesn't scan the last highest and the lowest price on the last three candlesticks...
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone !
Please forgive my bad english...I am french...nobody is perfect... ^^
Well, I would like to know if you could help me because i'm completely a noob in MQL4.
I am trying to make an easy EA wich will place pending BUYSTOP and SELLSTOP orders on the highest and lowest price of the last 3 candlesticks. If the price reaches these levels, orders will be placed automatically...
This robot should update data to place new order when the highest and the lowest price on the last three candlesticks change...
I do not think it is too difficult but...well...i am kinda....getting crazy....
Here is what I wrote...and I think there are many mistakes because I cannot compile...
I would greatly thank you if you can help me....
Nicolas