Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook ü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:
- 7140
- Derecelendirme:
- Yayınlandı:
- 2010.08.25 09:48
- Güncellendi:
- 2016.11.22 07:32
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
This is a class that will allow to open, close and modify your position by placing orders with really simple commands and configuration: Buy(), Sell(), Close(), Modify().
It has never been so easy! :)
Sample:
#include <K_Orders.mqh> input int TP = 70; input int SL = 20; input double Lots=0.2; Order order; //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- set default values order.SetLots(Lots); order.SetMagic(123); order.SetSL_inPoints(SL); order.SetTP_inPoints(TP); order.SetComment("MyExpert"); order.Buy(); // Buy order.Sell(); // Close buy order order.Buy(); // Buy again // order.SetSL_inPrice(1.26685); // Specify StopLoss value in "Price" order.SetTP_inPoints(30); // Specify TakeProfit value in "Points" order.Modify(); // Do the modification order.Close_Volume(0.1); //Close half from 0.2 volume order order.Close(); //Close the rest }
![MACD Histogram, multi-timeframe, multi-color [v03]](https://c.mql5.com/i/code/indicator.png)
MACD indicator with histogram, can be applied any timeframe (higher or lower than the current chart's timeframe).
![MACD Histogram, multi-color [v04]](https://c.mql5.com/i/code/indicator.png)
MACD indicator with MACD line, Signal line and multi-color histogram.
![RSI multi-timeframe [v03]](https://c.mql5.com/i/code/indicator.png)
RSI indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe).
![Stochastic multi-timeframe [v04]](https://c.mql5.com/i/code/indicator.png)
Stochastic indicator, can be applied to any timeframe (higher or lower than the current chart's timeframe).