New position won't work
- OnTrade event
- Getting the last tick of a symbol
- Developing an Expert Advisor template using MQL5
- Hope: I tired try different ways.
We can't read your mind. You have to show your “ways.”
- Hope: But i cannt.
Can't what? Speak English, proper sentences.
Be precise and informative about your problem - Hope: Problem is Dont work
“Doesn't work” is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — could be anything, meaningless.
We can't read your mind nor see your machine; only what you give us on this forum.
How To Ask Questions The Smart Way. (2004)
When asking about code -
if(!Trade.Buy(Birinci_Lot,_Symbol,ASK,ASK-SL-Spread,ASK+TP,"Birinci_buy"))
We have no idea what SL, TP, or Spread is, or where do you update them.
Always post all relevant code (using Code button) or attach the source file.