Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
- Görüntülemeler:
- 5641
- Derecelendirme:
- Yayınlandı:
- 2023.09.09 15:00
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Set TakeProfit by just dragging and dropping script on the desired price level.
![Drag and Drop Move StopLoss](https://c.mql5.com/i/code/script.png)
Set StopLoss by just dragging and dropping script on the desired price level.
![Momentum code for beginners by William210](https://c.mql5.com/i/code/indicator.png)
Momentum beginner tutorial to learn how to code in MQL5
![Translating mouse click on chart into price value (Helper function)](https://c.mql5.com/i/code/indicator.png)
This is a helper function which enables you to find the price of the symbol (the prices on the Y-axis) wherever you click the mouse on the chart. Using OnChartEvent, we don't have an MQL5 function in the API to do this, we can only obtain X and Y pixel values with mouse click.
![Plot the previous candlestick OHLC of the selected period](https://c.mql5.com/i/code/indicator.png)
It will automatically plot a colored horizontal line on the previous open/highs/lows/close of the selected period, and it will make the lines consistent on this price when switching timeframes.