commit 3dac0b5f2fe221c60b5207b7aa9e2692ab63cc42 Author: GeneralTradingSarl Date: Tue Jun 24 00:49:28 2025 +0100 Initial commit: MQL5 Indicators Collection (MetaTrader 5) - Part 2 diff --git a/DI_Cluster - indicator for MetaTrader 5/DI_Cluster.png b/DI_Cluster - indicator for MetaTrader 5/DI_Cluster.png new file mode 100644 index 0000000..b89f068 Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/DI_Cluster.png differ diff --git a/DI_Cluster - indicator for MetaTrader 5/DI_ClusterMDI.png b/DI_Cluster - indicator for MetaTrader 5/DI_ClusterMDI.png new file mode 100644 index 0000000..7de0621 Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/DI_ClusterMDI.png differ diff --git a/DI_Cluster - indicator for MetaTrader 5/DI_ClusterPDI.png b/DI_Cluster - indicator for MetaTrader 5/DI_ClusterPDI.png new file mode 100644 index 0000000..216d541 Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/DI_ClusterPDI.png differ diff --git a/DI_Cluster - indicator for MetaTrader 5/README.md b/DI_Cluster - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..9d2714b --- /dev/null +++ b/DI_Cluster - indicator for MetaTrader 5/README.md @@ -0,0 +1,23 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `di_cluster.mq5` + +### Screenshots: +![Screenshot](DI_Cluster.png) +![Screenshot](DI_ClusterMDI.png) +![Screenshot](DI_ClusterPDI.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DI_Cluster - indicator for MetaTrader 5/di_cluster.mq5 b/DI_Cluster - indicator for MetaTrader 5/di_cluster.mq5 new file mode 100644 index 0000000..67df6a4 Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/di_cluster.mq5 differ diff --git a/DI_Cluster - indicator for MetaTrader 5/indicator.png b/DI_Cluster - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/indicator.png differ diff --git a/DI_Cluster - indicator for MetaTrader 5/logo-2.png b/DI_Cluster - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DI_Cluster - indicator for MetaTrader 5/logo-2.png differ diff --git a/DMA (general) - indicator for MetaTrader 5/README.md b/DMA (general) - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..b961fc7 --- /dev/null +++ b/DMA (general) - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dma_jgeneralm.mq5` + +### Screenshots: +![Screenshot](dma_ggenerali.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DMA (general) - indicator for MetaTrader 5/dma_ggenerali.png b/DMA (general) - indicator for MetaTrader 5/dma_ggenerali.png new file mode 100644 index 0000000..b4b93c9 Binary files /dev/null and b/DMA (general) - indicator for MetaTrader 5/dma_ggenerali.png differ diff --git a/DMA (general) - indicator for MetaTrader 5/dma_jgeneralm.mq5 b/DMA (general) - indicator for MetaTrader 5/dma_jgeneralm.mq5 new file mode 100644 index 0000000..dc8cc8f --- /dev/null +++ b/DMA (general) - indicator for MetaTrader 5/dma_jgeneralm.mq5 @@ -0,0 +1,298 @@ +//------------------------------------------------------------------ +#property copyright "mladen" +#property link "www.forex-station.com" +#property link "mladenfx@gmail.com" +#property version "1.00" +//------------------------------------------------------------------ +#property indicator_chart_window +#property indicator_buffers 2 +#property indicator_plots 1 +#property indicator_label1 "MA" +#property indicator_type1 DRAW_COLOR_LINE +#property indicator_color1 clrGray,clrDeepSkyBlue,clrSandyBrown +#property indicator_width1 3 + +// +// +// +// +// + +enum enPrices +{ + pr_close, // Close + pr_open, // Open + pr_high, // High + pr_low, // Low + pr_median, // Median + pr_typical, // Typical + pr_weighted, // Weighted + pr_average, // Average (high+low+open+close)/4 + pr_medianb, // Average median body (open+close)/2 + pr_tbiased, // Trend biased price + pr_tbiased2, // Trend biased (extreme) price + pr_haclose, // Heiken ashi close + pr_haopen , // Heiken ashi open + pr_hahigh, // Heiken ashi high + pr_halow, // Heiken ashi low + pr_hamedian, // Heiken ashi median + pr_hatypical, // Heiken ashi typical + pr_haweighted, // Heiken ashi weighted + pr_haaverage, // Heiken ashi average + pr_hamedianb, // Heiken ashi median body + pr_hatbiased, // Heiken ashi trend biased price + pr_hatbiased2 // Heiken ashi trend biased (extreme) price +}; +enum enMaTypes +{ + ma_sma, // Simple moving average + ma_ema, // Exponential moving average + ma_smma, // Smoothed MA + ma_lwma // Linear weighted MA +}; + +input int AvgPeriod = 14; // Average period +input enMaTypes AvgType = ma_sma; // Average method +input bool AvgDma = true; // "DMA" average? +input enPrices Price = pr_close; // Price + +double avg[],avgc[]; +string _avgNames[] = {"SMA","EMA","SMMA","LWMA"}; +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// + +int OnInit() +{ + SetIndexBuffer(0,avg ,INDICATOR_DATA); + SetIndexBuffer(1,avgc ,INDICATOR_COLOR_INDEX); + IndicatorSetString(INDICATOR_SHORTNAME,"d-"+_avgNames[AvgType]+" ("+(string)AvgPeriod+")"); + return(0); +} + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// + +int OnCalculate(const int rates_total, + const int prev_calculated, + const datetime& time[], + const double& open[], + const double& high[], + const double& low[], + const double& close[], + const long& tick_volume[], + const long& volume[], + const int& spread[]) +{ + for (int i=(int)MathMax(prev_calculated-1,0); i0) ? (avg[i]>avg[i-1]) ? 1 : (avg[i]=0; k++) wavg += workSma[r-k][instanceNo+0]; wavg /= (double)k; + return(wavg); +} + +// +// +// +// +// + +double workEma[][_maWorkBufferx1]; +double iEma(double price, double period, int r, int _bars, int instanceNo=0) +{ + if (ArrayRange(workEma,0)!= _bars) ArrayResize(workEma,_bars); + + workEma[r][instanceNo] = price; + if (r>0 && period>1) + workEma[r][instanceNo] = workEma[r-1][instanceNo]+(2.0/(1.0+period))*(price-workEma[r-1][instanceNo]); + return(workEma[r][instanceNo]); +} + +// +// +// +// +// + +double workSmma[][_maWorkBufferx1]; +double iSmma(double price, double period, int r, int _bars, int instanceNo=0) +{ + if (ArrayRange(workSmma,0)!= _bars) ArrayResize(workSmma,_bars); + + workSmma[r][instanceNo] = price; + if (r>1 && period>1) + workSmma[r][instanceNo] = workSmma[r-1][instanceNo]+(price-workSmma[r-1][instanceNo])/period; + return(workSmma[r][instanceNo]); +} + +// +// +// +// +// + +double workLwma[][_maWorkBufferx1]; +double iLwma(double price, double period, int r, int _bars, int instanceNo=0) +{ + if (ArrayRange(workLwma,0)!= _bars) ArrayResize(workLwma,_bars); + + workLwma[r][instanceNo] = price; if (period<1) return(price); + double sumw = period; + double sum = period*price; + + for(int k=1; k=0; k++) + { + double weight = period-k; + sumw += weight; + sum += weight*workLwma[r-k][instanceNo]; + } + return(sum/sumw); +} + + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// +// + +#define _pricesInstances 1 +#define _pricesSize 4 +double workHa[][_pricesInstances*_pricesSize]; +double getPrice(int tprice, const double& open[], const double& close[], const double& high[], const double& low[], int i,int _bars, int instanceNo=0) +{ + if (tprice>=pr_haclose) + { + if (ArrayRange(workHa,0)!= _bars) ArrayResize(workHa,_bars); instanceNo*=_pricesSize; + + // + // + // + // + // + + double haOpen; + if (i>0) + haOpen = (workHa[i-1][instanceNo+2] + workHa[i-1][instanceNo+3])/2.0; + else haOpen = (open[i]+close[i])/2; + double haClose = (open[i] + high[i] + low[i] + close[i]) / 4.0; + double haHigh = MathMax(high[i], MathMax(haOpen,haClose)); + double haLow = MathMin(low[i] , MathMin(haOpen,haClose)); + + if(haOpen haOpen) + return((haHigh+haClose)/2.0); + else return((haLow+haClose)/2.0); + case pr_hatbiased2: + if (haClose>haOpen) return(haHigh); + if (haCloseopen[i]) + return((high[i]+close[i])/2.0); + else return((low[i]+close[i])/2.0); + case pr_tbiased2: + if (close[i]>open[i]) return(high[i]); + if (close[i] Made with вќ¤пёЏ for the trading community. diff --git a/DMA - indicator for MetaTrader 5/dma.mq5 b/DMA - indicator for MetaTrader 5/dma.mq5 new file mode 100644 index 0000000..eefbec3 Binary files /dev/null and b/DMA - indicator for MetaTrader 5/dma.mq5 differ diff --git a/DMA - indicator for MetaTrader 5/indicator.png b/DMA - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DMA - indicator for MetaTrader 5/indicator.png differ diff --git a/DMA - indicator for MetaTrader 5/logo-2.png b/DMA - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DMA - indicator for MetaTrader 5/logo-2.png differ diff --git a/DMH - indicator for MetaTrader 5/Capture__5.png b/DMH - indicator for MetaTrader 5/Capture__5.png new file mode 100644 index 0000000..866a847 Binary files /dev/null and b/DMH - indicator for MetaTrader 5/Capture__5.png differ diff --git a/DMH - indicator for MetaTrader 5/Capture_cb__2.png b/DMH - indicator for MetaTrader 5/Capture_cb__2.png new file mode 100644 index 0000000..847935c Binary files /dev/null and b/DMH - indicator for MetaTrader 5/Capture_cb__2.png differ diff --git a/DMH - indicator for MetaTrader 5/README.md b/DMH - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..0ee2567 --- /dev/null +++ b/DMH - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dmh.mq5` + +### Screenshots: +![Screenshot](Capture_cb__2.png) +![Screenshot](Capture__5.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DMH - indicator for MetaTrader 5/dmh.mq5 b/DMH - indicator for MetaTrader 5/dmh.mq5 new file mode 100644 index 0000000..4df20eb Binary files /dev/null and b/DMH - indicator for MetaTrader 5/dmh.mq5 differ diff --git a/DMH - indicator for MetaTrader 5/indicator.png b/DMH - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DMH - indicator for MetaTrader 5/indicator.png differ diff --git a/DMH - indicator for MetaTrader 5/logo-2.png b/DMH - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DMH - indicator for MetaTrader 5/logo-2.png differ diff --git a/DMI stochastic extreme - indicator for MetaTrader 5/README.md b/DMI stochastic extreme - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..5731f98 --- /dev/null +++ b/DMI stochastic extreme - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dmi_stochastic_extreme_1.1.mq5` + +### Screenshots: +![Screenshot](dmi_stochastic_cb.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_cb.png b/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_cb.png new file mode 100644 index 0000000..ce26bec Binary files /dev/null and b/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_cb.png differ diff --git a/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_extreme_1.1.mq5 b/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_extreme_1.1.mq5 new file mode 100644 index 0000000..59586c7 Binary files /dev/null and b/DMI stochastic extreme - indicator for MetaTrader 5/dmi_stochastic_extreme_1.1.mq5 differ diff --git a/DMI stochastic extreme - indicator for MetaTrader 5/indicator.png b/DMI stochastic extreme - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DMI stochastic extreme - indicator for MetaTrader 5/indicator.png differ diff --git a/DMI stochastic extreme - indicator for MetaTrader 5/logo-2.png b/DMI stochastic extreme - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DMI stochastic extreme - indicator for MetaTrader 5/logo-2.png differ diff --git a/DMI_Difference - indicator for MetaTrader 5/DDMI.png b/DMI_Difference - indicator for MetaTrader 5/DDMI.png new file mode 100644 index 0000000..2de8cf4 Binary files /dev/null and b/DMI_Difference - indicator for MetaTrader 5/DDMI.png differ diff --git a/DMI_Difference - indicator for MetaTrader 5/README.md b/DMI_Difference - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..bd59224 --- /dev/null +++ b/DMI_Difference - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dmi_difference.mq5` + +### Screenshots: +![Screenshot](DDMI.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DMI_Difference - indicator for MetaTrader 5/dmi_difference.mq5 b/DMI_Difference - indicator for MetaTrader 5/dmi_difference.mq5 new file mode 100644 index 0000000..24793b6 Binary files /dev/null and b/DMI_Difference - indicator for MetaTrader 5/dmi_difference.mq5 differ diff --git a/DMI_Difference - indicator for MetaTrader 5/indicator.png b/DMI_Difference - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DMI_Difference - indicator for MetaTrader 5/indicator.png differ diff --git a/DMI_Difference - indicator for MetaTrader 5/logo-2.png b/DMI_Difference - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DMI_Difference - indicator for MetaTrader 5/logo-2.png differ diff --git a/DMX - indicator for MetaTrader 5/DMX.png b/DMX - indicator for MetaTrader 5/DMX.png new file mode 100644 index 0000000..a7e665f Binary files /dev/null and b/DMX - indicator for MetaTrader 5/DMX.png differ diff --git a/DMX - indicator for MetaTrader 5/README.md b/DMX - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..324c248 --- /dev/null +++ b/DMX - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dmx.mq5` + +### Screenshots: +![Screenshot](DMX.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DMX - indicator for MetaTrader 5/dmx.mq5 b/DMX - indicator for MetaTrader 5/dmx.mq5 new file mode 100644 index 0000000..d87fcff Binary files /dev/null and b/DMX - indicator for MetaTrader 5/dmx.mq5 differ diff --git a/DMX - indicator for MetaTrader 5/indicator.png b/DMX - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DMX - indicator for MetaTrader 5/indicator.png differ diff --git a/DMX - indicator for MetaTrader 5/logo-2.png b/DMX - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DMX - indicator for MetaTrader 5/logo-2.png differ diff --git a/DNC - indicator for MetaTrader 5/DNC.png b/DNC - indicator for MetaTrader 5/DNC.png new file mode 100644 index 0000000..c77b116 Binary files /dev/null and b/DNC - indicator for MetaTrader 5/DNC.png differ diff --git a/DNC - indicator for MetaTrader 5/README.md b/DNC - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..e626701 --- /dev/null +++ b/DNC - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dnc.mq5` + +### Screenshots: +![Screenshot](DNC.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DNC - indicator for MetaTrader 5/dnc.mq5 b/DNC - indicator for MetaTrader 5/dnc.mq5 new file mode 100644 index 0000000..809d7fd Binary files /dev/null and b/DNC - indicator for MetaTrader 5/dnc.mq5 differ diff --git a/DNC - indicator for MetaTrader 5/indicator.png b/DNC - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DNC - indicator for MetaTrader 5/indicator.png differ diff --git a/DNC - indicator for MetaTrader 5/logo-2.png b/DNC - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DNC - indicator for MetaTrader 5/logo-2.png differ diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth.png b/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth.png new file mode 100644 index 0000000..9b2fddb Binary files /dev/null and b/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth.png differ diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth_dnc.png b/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth_dnc.png new file mode 100644 index 0000000..91019fe Binary files /dev/null and b/DNC_Bandwidth - indicator for MetaTrader 5/DNC_Bandwidth_dnc.png differ diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/README.md b/DNC_Bandwidth - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..647ab06 --- /dev/null +++ b/DNC_Bandwidth - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dnc_bandwidth.mq5` + +### Screenshots: +![Screenshot](DNC_Bandwidth.png) +![Screenshot](DNC_Bandwidth_dnc.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/dnc_bandwidth.mq5 b/DNC_Bandwidth - indicator for MetaTrader 5/dnc_bandwidth.mq5 new file mode 100644 index 0000000..3c4a44d Binary files /dev/null and b/DNC_Bandwidth - indicator for MetaTrader 5/dnc_bandwidth.mq5 differ diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/indicator.png b/DNC_Bandwidth - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DNC_Bandwidth - indicator for MetaTrader 5/indicator.png differ diff --git a/DNC_Bandwidth - indicator for MetaTrader 5/logo-2.png b/DNC_Bandwidth - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DNC_Bandwidth - indicator for MetaTrader 5/logo-2.png differ diff --git a/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage.png b/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage.png new file mode 100644 index 0000000..38ee3ed Binary files /dev/null and b/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage.png differ diff --git a/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage_dnc.png b/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage_dnc.png new file mode 100644 index 0000000..a702bcf Binary files /dev/null and b/DNC_Percentage - indicator for MetaTrader 5/DNC_Percentage_dnc.png differ diff --git a/DNC_Percentage - indicator for MetaTrader 5/README.md b/DNC_Percentage - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f0e6300 --- /dev/null +++ b/DNC_Percentage - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dnc_percentage.mq5` + +### Screenshots: +![Screenshot](DNC_Percentage.png) +![Screenshot](DNC_Percentage_dnc.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DNC_Percentage - indicator for MetaTrader 5/dnc_percentage.mq5 b/DNC_Percentage - indicator for MetaTrader 5/dnc_percentage.mq5 new file mode 100644 index 0000000..6d306f3 Binary files /dev/null and b/DNC_Percentage - indicator for MetaTrader 5/dnc_percentage.mq5 differ diff --git a/DNC_Percentage - indicator for MetaTrader 5/indicator.png b/DNC_Percentage - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DNC_Percentage - indicator for MetaTrader 5/indicator.png differ diff --git a/DNC_Percentage - indicator for MetaTrader 5/logo-2.png b/DNC_Percentage - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DNC_Percentage - indicator for MetaTrader 5/logo-2.png differ diff --git a/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_screenshot_1.png b/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_screenshot_1.png new file mode 100644 index 0000000..df8f1cd Binary files /dev/null and b/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_screenshot_1.png differ diff --git a/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_setup__1.png b/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_setup__1.png new file mode 100644 index 0000000..4043564 Binary files /dev/null and b/DPO - MA modified - indicator for MetaTrader 5/DPO_modified_setup__1.png differ diff --git a/DPO - MA modified - indicator for MetaTrader 5/README.md b/DPO - MA modified - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..ee1c666 --- /dev/null +++ b/DPO - MA modified - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dpo_modified.mq5` + +### Screenshots: +![Screenshot](DPO_modified_screenshot_1.png) +![Screenshot](DPO_modified_setup__1.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DPO - MA modified - indicator for MetaTrader 5/dpo_modified.mq5 b/DPO - MA modified - indicator for MetaTrader 5/dpo_modified.mq5 new file mode 100644 index 0000000..df0121e --- /dev/null +++ b/DPO - MA modified - indicator for MetaTrader 5/dpo_modified.mq5 @@ -0,0 +1,202 @@ +//+------------------------------------------------------------------+ +//| DPO_modified.mq5 | +//| Copyright 2000-2024, MetaQuotes Ltd. | +//| https://www.mql5.com | +//+------------------------------------------------------------------+ +#property copyright "Copyright 2000-2024, MetaQuotes Ltd." +#property link "https://www.mql5.com" +#property version "1.10" +#property description "Detrended Price Oscillator - modified" +#include +//--- indicator settings +#property indicator_separate_window +#property indicator_buffers 3 +#property indicator_plots 1 +#property indicator_type1 DRAW_LINE +#property indicator_color1 DodgerBlue +#property indicator_levelstyle STYLE_DOT +#property indicator_levelcolor DarkGray +#property indicator_level1 0 + +//--- input parameters +input int InpDetrendPeriod = 61; // DPO Period +input ENUM_MA_METHOD MAmethod = MODE_SMA; // MA Method +input ENUM_APPLIED_PRICE appliedprice = PRICE_CLOSE; // MA Applied price + +//--- indicator buffers +double ExtDPOBuffer[]; +double ExtMABuffer[]; +double Extprice[]; +int helpMABuffer; + +int ExtMAPeriod; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +void OnInit() + { +//--- get length of cycle for smoothing + //ExtMAPeriod = InpDetrendPeriod / 2 + 1; + ExtMAPeriod = InpDetrendPeriod; // change input period to equal MA period +//--- indicator buffers mapping + SetIndexBuffer(0, ExtDPOBuffer, INDICATOR_DATA); + SetIndexBuffer(1, ExtMABuffer, INDICATOR_CALCULATIONS); + SetIndexBuffer(2, Extprice, INDICATOR_CALCULATIONS); +//--- set accuracy + IndicatorSetInteger(INDICATOR_DIGITS, _Digits + 1); +//--- set first bar from what index will be drawn + PlotIndexSetInteger(0, PLOT_DRAW_BEGIN, ExtMAPeriod - 1); +//--- name for DataWindow and indicator subwindow label + string short_name = StringFormat("modified DPO(%d)", InpDetrendPeriod); + +//--- set short name according to MA mode + switch(MAmethod) + { + case MODE_EMA : + short_name = short_name + " (EMA)"; + break; + case MODE_LWMA : + short_name = short_name + " (LWMA)"; + break; + case MODE_SMA : + short_name = short_name + " (SMA)"; + break; + case MODE_SMMA : + short_name = short_name + " (SMMA)"; + break; + default : + short_name = short_name; + } + + IndicatorSetString(INDICATOR_SHORTNAME, short_name); + } +//+------------------------------------------------------------------+ +//| Detrended Price Oscillator | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, + const int prev_calculated, + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) + { + int start; + + int begin = 0; + int first_index = begin + ExtMAPeriod - 1; +//--- preliminary filling + if(prev_calculated < first_index) + { + ArrayInitialize(ExtDPOBuffer, 0.0); + start = first_index; + if(begin > 0) + PlotIndexSetInteger(0, PLOT_DRAW_BEGIN, first_index); + } + else + start = prev_calculated - 1; + +//---get price array if chosen MA applied price is PRICE_MEDIAN, PRICE_TYPICAL, or PRICE_WEIGHTED + if(appliedprice >= 4)getLprice(rates_total, prev_calculated, begin, open, high, low, close, Extprice, appliedprice); + + +//--- get MA buffer based on MA applied price and MA mode + switch(appliedprice) + { + case PRICE_CLOSE : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, close, ExtMABuffer); + break; + case PRICE_OPEN : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, open, ExtMABuffer); + break; + case PRICE_HIGH : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, high, ExtMABuffer); + break; + case PRICE_LOW : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, low, ExtMABuffer); + break; + case PRICE_MEDIAN : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, Extprice, ExtMABuffer); + break; + case PRICE_TYPICAL : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, Extprice, ExtMABuffer); + break; + case PRICE_WEIGHTED : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, Extprice, ExtMABuffer); + break; + default : + AverageOnArray(MAmethod, rates_total, prev_calculated, begin, ExtMAPeriod, close, ExtMABuffer); + } + +//--- the main loop of calculations + for(int i = start; i < rates_total && !IsStopped(); i++) + ExtDPOBuffer[i] = close[i] - ExtMABuffer[i]; +//--- OnCalculate done. Return new prev_calculated. + return(rates_total); + } +//+------------------------------------------------------------------+ +//| calculate average on array | +//+------------------------------------------------------------------+ +void AverageOnArray(const int mode, + const int rates_total, + const int prev_calculated, + const int begin, + const int period, + const double& source[], + double& destination[]) + { + switch(mode) + { + case MODE_EMA: + ExponentialMAOnBuffer(rates_total, prev_calculated, begin, period, source, destination); + break; + case MODE_SMMA: + SmoothedMAOnBuffer(rates_total, prev_calculated, begin, period, source, destination); + break; + case MODE_LWMA: + LinearWeightedMAOnBuffer(rates_total, prev_calculated, begin, period, source, destination); + break; + default: + SimpleMAOnBuffer(rates_total, prev_calculated, begin, period, source, destination); + } + } +//+------------------------------------------------------------------+ +//| get median , typical, & weighted prices (when requested) | +//+------------------------------------------------------------------+ +int getLprice(const int rates_total, + const int prev_calculated, + const int begin, + const double &op[], + const double &hi[], + const double &lo[], + const double &cl[], + double &destination[], + ENUM_APPLIED_PRICE Lprice) + { + + bool as_series_destination=ArrayGetAsSeries(destination); + ArraySetAsSeries(destination,false); + + int start_position = prev_calculated-1; + + if(start_position < 0){start_position = 0;} + +//--- main loop + for(int i = start_position; i < rates_total; i++) + { + if(Lprice == PRICE_WEIGHTED)destination[i] = (hi[i] + lo[i] + cl[i] * 2) / 4; + if(Lprice == PRICE_TYPICAL)destination[i] = (hi[i] + lo[i] + cl[i]) / 3; + if(Lprice == PRICE_MEDIAN)destination[i] = (hi[i] + lo[i]) / 2; + } + ArraySetAsSeries(destination,as_series_destination); + return rates_total; + } +//+------------------------------------------------------------------+ + + + + + diff --git a/DPO - MA modified - indicator for MetaTrader 5/expert.png b/DPO - MA modified - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DPO - MA modified - indicator for MetaTrader 5/expert.png differ diff --git a/DPO - MA modified - indicator for MetaTrader 5/indicator.png b/DPO - MA modified - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DPO - MA modified - indicator for MetaTrader 5/indicator.png differ diff --git a/DPO - MA modified - indicator for MetaTrader 5/logo-2.png b/DPO - MA modified - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DPO - MA modified - indicator for MetaTrader 5/logo-2.png differ diff --git a/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h1.png b/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h1.png new file mode 100644 index 0000000..9b68f78 Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h1.png differ diff --git a/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h4.png b/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h4.png new file mode 100644 index 0000000..cfe0174 Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/DPO_Bar_h4.png differ diff --git a/DPO_Bar - indicator for MetaTrader 5/README.md b/DPO_Bar - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..e5f4b0d --- /dev/null +++ b/DPO_Bar - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dpo_bar.mq5` + +### Screenshots: +![Screenshot](DPO_Bar_h1.png) +![Screenshot](DPO_Bar_h4.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DPO_Bar - indicator for MetaTrader 5/dpo_bar.mq5 b/DPO_Bar - indicator for MetaTrader 5/dpo_bar.mq5 new file mode 100644 index 0000000..ee6c931 Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/dpo_bar.mq5 differ diff --git a/DPO_Bar - indicator for MetaTrader 5/expert.png b/DPO_Bar - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/expert.png differ diff --git a/DPO_Bar - indicator for MetaTrader 5/indicator.png b/DPO_Bar - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/indicator.png differ diff --git a/DPO_Bar - indicator for MetaTrader 5/logo-2.png b/DPO_Bar - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DPO_Bar - indicator for MetaTrader 5/logo-2.png differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/MA_DR__1.png b/DR Caco Maia - indicator for MetaTrader 5/MA_DR__1.png new file mode 100644 index 0000000..2b55bb2 Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/MA_DR__1.png differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/README.md b/DR Caco Maia - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..ab2b853 --- /dev/null +++ b/DR Caco Maia - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `drcacomaia.mq5` + +### Screenshots: +![Screenshot](MA_DR__1.png) +![Screenshot](script.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DR Caco Maia - indicator for MetaTrader 5/drcacomaia.mq5 b/DR Caco Maia - indicator for MetaTrader 5/drcacomaia.mq5 new file mode 100644 index 0000000..c231899 Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/drcacomaia.mq5 differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/expert.png b/DR Caco Maia - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/expert.png differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/indicator.png b/DR Caco Maia - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/indicator.png differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/logo-2.png b/DR Caco Maia - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/logo-2.png differ diff --git a/DR Caco Maia - indicator for MetaTrader 5/script.png b/DR Caco Maia - indicator for MetaTrader 5/script.png new file mode 100644 index 0000000..d32d874 Binary files /dev/null and b/DR Caco Maia - indicator for MetaTrader 5/script.png differ diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/README.md b/DSL - DEMA MACD - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..979ffa4 --- /dev/null +++ b/DSL - DEMA MACD - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_dema_macd.mq5` + +### Screenshots: +![Screenshot](cb-1__9.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/cb-1__9.png b/DSL - DEMA MACD - indicator for MetaTrader 5/cb-1__9.png new file mode 100644 index 0000000..cd19e93 Binary files /dev/null and b/DSL - DEMA MACD - indicator for MetaTrader 5/cb-1__9.png differ diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/dsl_-_dema_macd.mq5 b/DSL - DEMA MACD - indicator for MetaTrader 5/dsl_-_dema_macd.mq5 new file mode 100644 index 0000000..041ae3b Binary files /dev/null and b/DSL - DEMA MACD - indicator for MetaTrader 5/dsl_-_dema_macd.mq5 differ diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/expert.png b/DSL - DEMA MACD - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DSL - DEMA MACD - indicator for MetaTrader 5/expert.png differ diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/indicator.png b/DSL - DEMA MACD - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL - DEMA MACD - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL - DEMA MACD - indicator for MetaTrader 5/logo-2.png b/DSL - DEMA MACD - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL - DEMA MACD - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL - TEMA MACD - indicator for MetaTrader 5/README.md b/DSL - TEMA MACD - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..d5b100a --- /dev/null +++ b/DSL - TEMA MACD - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_tema_macd.mq5` + +### Screenshots: +![Screenshot](cb-1__10.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL - TEMA MACD - indicator for MetaTrader 5/cb-1__10.png b/DSL - TEMA MACD - indicator for MetaTrader 5/cb-1__10.png new file mode 100644 index 0000000..38acae0 Binary files /dev/null and b/DSL - TEMA MACD - indicator for MetaTrader 5/cb-1__10.png differ diff --git a/DSL - TEMA MACD - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 b/DSL - TEMA MACD - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 new file mode 100644 index 0000000..73e3779 Binary files /dev/null and b/DSL - TEMA MACD - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 differ diff --git a/DSL - TEMA MACD - indicator for MetaTrader 5/indicator.png b/DSL - TEMA MACD - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL - TEMA MACD - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL - TEMA MACD - indicator for MetaTrader 5/logo-2.png b/DSL - TEMA MACD - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL - TEMA MACD - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL - WPR - indicator for MetaTrader 5/README.md b/DSL - WPR - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f5e96de --- /dev/null +++ b/DSL - WPR - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_wpr.mq5` + +### Screenshots: +![Screenshot](cb-1__13.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL - WPR - indicator for MetaTrader 5/cb-1__13.png b/DSL - WPR - indicator for MetaTrader 5/cb-1__13.png new file mode 100644 index 0000000..f7d8cca Binary files /dev/null and b/DSL - WPR - indicator for MetaTrader 5/cb-1__13.png differ diff --git a/DSL - WPR - indicator for MetaTrader 5/dsl_-_wpr.mq5 b/DSL - WPR - indicator for MetaTrader 5/dsl_-_wpr.mq5 new file mode 100644 index 0000000..9e49616 Binary files /dev/null and b/DSL - WPR - indicator for MetaTrader 5/dsl_-_wpr.mq5 differ diff --git a/DSL - WPR - indicator for MetaTrader 5/indicator.png b/DSL - WPR - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL - WPR - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL - WPR - indicator for MetaTrader 5/logo-2.png b/DSL - WPR - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL - WPR - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL - extended stochastic - indicator for MetaTrader 5/README.md b/DSL - extended stochastic - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..890d0b5 --- /dev/null +++ b/DSL - extended stochastic - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_stochastic_extended.mq5` + +### Screenshots: +![Screenshot](cb-1__15.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL - extended stochastic - indicator for MetaTrader 5/cb-1__15.png b/DSL - extended stochastic - indicator for MetaTrader 5/cb-1__15.png new file mode 100644 index 0000000..8120335 Binary files /dev/null and b/DSL - extended stochastic - indicator for MetaTrader 5/cb-1__15.png differ diff --git a/DSL - extended stochastic - indicator for MetaTrader 5/dsl_-_stochastic_extended.mq5 b/DSL - extended stochastic - indicator for MetaTrader 5/dsl_-_stochastic_extended.mq5 new file mode 100644 index 0000000..dfa861b Binary files /dev/null and b/DSL - extended stochastic - indicator for MetaTrader 5/dsl_-_stochastic_extended.mq5 differ diff --git a/DSL - extended stochastic - indicator for MetaTrader 5/indicator.png b/DSL - extended stochastic - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL - extended stochastic - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL - extended stochastic - indicator for MetaTrader 5/logo-2.png b/DSL - extended stochastic - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL - extended stochastic - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/README.md b/DSL - stochastic - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f3d701b --- /dev/null +++ b/DSL - stochastic - indicator for MetaTrader 5/README.md @@ -0,0 +1,23 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_stochastic.mq5` +- `dsl_-_tema_macd.mq5` + +### Screenshots: +![Screenshot](cb-1__14.png) +![Screenshot](dsl_stochastic__3.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL - stochastic - indicator for MetaTrader 5/cb-1__14.png b/DSL - stochastic - indicator for MetaTrader 5/cb-1__14.png new file mode 100644 index 0000000..08fe606 Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/cb-1__14.png differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/dsl_-_stochastic.mq5 b/DSL - stochastic - indicator for MetaTrader 5/dsl_-_stochastic.mq5 new file mode 100644 index 0000000..c230a40 Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/dsl_-_stochastic.mq5 differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 b/DSL - stochastic - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 new file mode 100644 index 0000000..25379d1 Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/dsl_-_tema_macd.mq5 differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/dsl_stochastic__3.png b/DSL - stochastic - indicator for MetaTrader 5/dsl_stochastic__3.png new file mode 100644 index 0000000..282b077 Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/dsl_stochastic__3.png differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/indicator.png b/DSL - stochastic - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL - stochastic - indicator for MetaTrader 5/logo-2.png b/DSL - stochastic - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL - stochastic - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/README.md b/DSL Balance of market power JMA - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..1ec3018 --- /dev/null +++ b/DSL Balance of market power JMA - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_balance_of_market_power_jma.mq5` + +### Screenshots: +![Screenshot](cb__75.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/cb__75.png b/DSL Balance of market power JMA - indicator for MetaTrader 5/cb__75.png new file mode 100644 index 0000000..837ef3c Binary files /dev/null and b/DSL Balance of market power JMA - indicator for MetaTrader 5/cb__75.png differ diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/dsl_-_balance_of_market_power_jma.mq5 b/DSL Balance of market power JMA - indicator for MetaTrader 5/dsl_-_balance_of_market_power_jma.mq5 new file mode 100644 index 0000000..07929a3 Binary files /dev/null and b/DSL Balance of market power JMA - indicator for MetaTrader 5/dsl_-_balance_of_market_power_jma.mq5 differ diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/expert.png b/DSL Balance of market power JMA - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DSL Balance of market power JMA - indicator for MetaTrader 5/expert.png differ diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/indicator.png b/DSL Balance of market power JMA - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL Balance of market power JMA - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL Balance of market power JMA - indicator for MetaTrader 5/logo-2.png b/DSL Balance of market power JMA - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL Balance of market power JMA - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/README.md b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..e5aec6e --- /dev/null +++ b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_-_cmo_2.mq5` + +### Screenshots: +![Screenshot](cb__71.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/cb__71.png b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/cb__71.png new file mode 100644 index 0000000..1a4cbac Binary files /dev/null and b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/cb__71.png differ diff --git a/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/dsl_-_cmo_2.mq5 b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/dsl_-_cmo_2.mq5 new file mode 100644 index 0000000..35b7e55 Binary files /dev/null and b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/dsl_-_cmo_2.mq5 differ diff --git a/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/indicator.png b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/logo-2.png b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL Chande momentum oscillator - smoothed - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL QQE histo - indicator for MetaTrader 5/README.md b/DSL QQE histo - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..3e0afdc --- /dev/null +++ b/DSL QQE histo - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_qqe_histo.mq5` + +### Screenshots: +![Screenshot](cb__51.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL QQE histo - indicator for MetaTrader 5/cb__51.png b/DSL QQE histo - indicator for MetaTrader 5/cb__51.png new file mode 100644 index 0000000..64e27e9 Binary files /dev/null and b/DSL QQE histo - indicator for MetaTrader 5/cb__51.png differ diff --git a/DSL QQE histo - indicator for MetaTrader 5/dsl_qqe_histo.mq5 b/DSL QQE histo - indicator for MetaTrader 5/dsl_qqe_histo.mq5 new file mode 100644 index 0000000..e3fc1d1 Binary files /dev/null and b/DSL QQE histo - indicator for MetaTrader 5/dsl_qqe_histo.mq5 differ diff --git a/DSL QQE histo - indicator for MetaTrader 5/indicator.png b/DSL QQE histo - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL QQE histo - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL QQE histo - indicator for MetaTrader 5/logo-2.png b/DSL QQE histo - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL QQE histo - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL synthetic ema momentum - indicator for MetaTrader 5/README.md b/DSL synthetic ema momentum - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..64b45e1 --- /dev/null +++ b/DSL synthetic ema momentum - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_synthetic_ema_momentum.mq5` + +### Screenshots: +![Screenshot](cb__43.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL synthetic ema momentum - indicator for MetaTrader 5/cb__43.png b/DSL synthetic ema momentum - indicator for MetaTrader 5/cb__43.png new file mode 100644 index 0000000..c68e9f9 Binary files /dev/null and b/DSL synthetic ema momentum - indicator for MetaTrader 5/cb__43.png differ diff --git a/DSL synthetic ema momentum - indicator for MetaTrader 5/dsl_synthetic_ema_momentum.mq5 b/DSL synthetic ema momentum - indicator for MetaTrader 5/dsl_synthetic_ema_momentum.mq5 new file mode 100644 index 0000000..f05319c Binary files /dev/null and b/DSL synthetic ema momentum - indicator for MetaTrader 5/dsl_synthetic_ema_momentum.mq5 differ diff --git a/DSL synthetic ema momentum - indicator for MetaTrader 5/indicator.png b/DSL synthetic ema momentum - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL synthetic ema momentum - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL synthetic ema momentum - indicator for MetaTrader 5/logo-2.png b/DSL synthetic ema momentum - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL synthetic ema momentum - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSL synthetic super smoother momentum - indicator for MetaTrader 5/README.md b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..0e8e29a --- /dev/null +++ b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsl_synthetic_super_smoother_momentum.mq5` + +### Screenshots: +![Screenshot](cb__44.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSL synthetic super smoother momentum - indicator for MetaTrader 5/cb__44.png b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/cb__44.png new file mode 100644 index 0000000..2528f68 Binary files /dev/null and b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/cb__44.png differ diff --git a/DSL synthetic super smoother momentum - indicator for MetaTrader 5/dsl_synthetic_super_smoother_momentum.mq5 b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/dsl_synthetic_super_smoother_momentum.mq5 new file mode 100644 index 0000000..a75e655 Binary files /dev/null and b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/dsl_synthetic_super_smoother_momentum.mq5 differ diff --git a/DSL synthetic super smoother momentum - indicator for MetaTrader 5/indicator.png b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/indicator.png differ diff --git a/DSL synthetic super smoother momentum - indicator for MetaTrader 5/logo-2.png b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSL synthetic super smoother momentum - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSP - indicator for MetaTrader 5/DSP.png b/DSP - indicator for MetaTrader 5/DSP.png new file mode 100644 index 0000000..f34792a Binary files /dev/null and b/DSP - indicator for MetaTrader 5/DSP.png differ diff --git a/DSP - indicator for MetaTrader 5/README.md b/DSP - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..fc5c9a3 --- /dev/null +++ b/DSP - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dsp.mq5` + +### Screenshots: +![Screenshot](DSP.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSP - indicator for MetaTrader 5/dsp.mq5 b/DSP - indicator for MetaTrader 5/dsp.mq5 new file mode 100644 index 0000000..8d9e92b Binary files /dev/null and b/DSP - indicator for MetaTrader 5/dsp.mq5 differ diff --git a/DSP - indicator for MetaTrader 5/indicator.png b/DSP - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSP - indicator for MetaTrader 5/indicator.png differ diff --git a/DSP - indicator for MetaTrader 5/logo-2.png b/DSP - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSP - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSS - indicator for MetaTrader 5/DSS.png b/DSS - indicator for MetaTrader 5/DSS.png new file mode 100644 index 0000000..a9b4953 Binary files /dev/null and b/DSS - indicator for MetaTrader 5/DSS.png differ diff --git a/DSS - indicator for MetaTrader 5/README.md b/DSS - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..d99d532 --- /dev/null +++ b/DSS - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dss.mq5` + +### Screenshots: +![Screenshot](DSS.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSS - indicator for MetaTrader 5/dss.mq5 b/DSS - indicator for MetaTrader 5/dss.mq5 new file mode 100644 index 0000000..d285ed7 Binary files /dev/null and b/DSS - indicator for MetaTrader 5/dss.mq5 differ diff --git a/DSS - indicator for MetaTrader 5/expert.png b/DSS - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DSS - indicator for MetaTrader 5/expert.png differ diff --git a/DSS - indicator for MetaTrader 5/indicator.png b/DSS - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DSS - indicator for MetaTrader 5/indicator.png differ diff --git a/DSS - indicator for MetaTrader 5/logo-2.png b/DSS - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DSS - indicator for MetaTrader 5/logo-2.png differ diff --git a/DSSBressertSign - indicator for MetaTrader 5/README.md b/DSSBressertSign - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..ec42664 --- /dev/null +++ b/DSSBressertSign - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dssbressertsign.mq5` + +### Screenshots: +![Screenshot](picture__32.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DSSBressertSign - indicator for MetaTrader 5/dssbressertsign.mq5 b/DSSBressertSign - indicator for MetaTrader 5/dssbressertsign.mq5 new file mode 100644 index 0000000..0c5c96f --- /dev/null +++ b/DSSBressertSign - indicator for MetaTrader 5/dssbressertsign.mq5 @@ -0,0 +1,207 @@ +//+------------------------------------------------------------------+ +//| DSSBressertSign.mq5 | +//| Copyright © 2008, MetaQuotes Software Corp. | +//| http://www.metaquotes.net/ | +//+------------------------------------------------------------------+ +#property copyright "Copyright © 2008, MetaQuotes Software Corp." +#property link "http://www.metaquotes.net/" +//---- номер версии индикатора +#property version "1.00" +//--- отрисовка индикатора в главном окне +#property indicator_chart_window +//--- для расчета и отрисовки индикатора использовано два буфера +#property indicator_buffers 2 +//--- использовано всего два графических построения +#property indicator_plots 2 +//+----------------------------------------------+ +//| Параметры отрисовки медвежьего индикатора | +//+----------------------------------------------+ +//--- отрисовка индикатора 1 в виде символа +#property indicator_type1 DRAW_ARROW +//--- в качестве цвета медвежьей линии индикатора использован розовый цвет +#property indicator_color1 clrMagenta +//--- толщина линии индикатора 1 равна 5 +#property indicator_width1 5 +//--- отображение бычей метки индикатора +#property indicator_label1 "DSSBressertSign Sell" +//+----------------------------------------------+ +//| Параметры отрисовки бычьго индикатора | +//+----------------------------------------------+ +//--- отрисовка индикатора 2 в виде символа +#property indicator_type2 DRAW_ARROW +//--- в качестве цвета бычей линии индикатора использован зеленый цвет +#property indicator_color2 clrLimeGreen +//--- толщина линии индикатора 2 равна 5 +#property indicator_width2 5 +//--- отображение медвежьей метки индикатора +#property indicator_label2 "DSSBressertSign Buy" +//+----------------------------------------------+ +//| объявление констант | +//+----------------------------------------------+ +#define RESET 0 // Константа для возврата терминалу команды на пересчёт индикатора +//+----------------------------------------------+ +//| ВХОДНЫЕ ПАРАМЕТРЫ ИНДИКАТОРА | +//+----------------------------------------------+ +input uint EMA_period=8; //период EMA +input uint Sto_period=13; //период стохастика +input int Shift=0; //сдвиг индикатора по горизонтали в барах +//+----------------------------------------------+ +//---- Объявление целых переменных начала отсчёта данных +int min_rates_total; +//--- объявление динамических массивов, которые в дальнейшем будут использованы в качестве индикаторных буферов +double SellBuffer[],BuyBuffer[]; +//---- Объявление глобальных переменных +double smooth_coefficient; +//---- Объявление целых переменных для хендлов индикаторов +int ATR_Handle; +//---- объявление глобальных переменных +int Count[]; +double Mit[]; +//+------------------------------------------------------------------+ +//| Пересчет позиции самого нового элемента в массиве | +//+------------------------------------------------------------------+ +void Recount_ArrayZeroPos(int &CoArr[],// Возврат по ссылке номера текущего значения ценового ряда + int Size) + { +//---- + int numb,Max1,Max2; + static int count=1; + + Max2=Size; + Max1=Max2-1; + + count--; + if(count<0) count=Max1; + + for(int iii=0; iiiMax1) numb-=Max2; + CoArr[iii]=numb; + } +//---- + } +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//--- получение хендла индикатора ATR + int ATR_Period=12; + ATR_Handle=iATR(NULL,0,ATR_Period); + if(ATR_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора ATR"); + return(INIT_FAILED); + } +//---- Инициализация переменных начала отсчёта данных + min_rates_total=int(MathMax(ATR_Period,Sto_period+1)); +//---- Инициализация переменных + smooth_coefficient=2.0/(1.0+EMA_period); +//---- распределение памяти под массивы переменных + ArrayResize(Count,Sto_period); + ArrayResize(Mit,Sto_period); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,SellBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 1 + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(0,PLOT_ARROW,170); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(SellBuffer,true); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 2 + PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(1,PLOT_ARROW,170); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(BuyBuffer,true); +//---- инициализации переменной для короткого имени индикатора + string shortname; + StringConcatenate(shortname,"DSS Bressert(",EMA_period,", ",Sto_period,")"); +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); + +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,_Digits); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate( + const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[] + ) + { +//--- проверка количества баров на достаточность для расчета + if(BarsCalculated(ATR_Handle)rates_total || prev_calculated<=0)// проверка на первый старт расчета индикатора + { + limit=rates_total-min_rates_total-1; // стартовый номер для расчета всех баров + ArrayInitialize(Count,0); + ArrayInitialize(Mit,50.0); + Dss_prev=50; + } + else limit=rates_total-prev_calculated; // стартовый номер для расчета новых баров + to_copy=limit+1; + +//--- копируем вновь появившиеся данные в массив ATR[] + if(CopyBuffer(ATR_Handle,0,0,to_copy,ATR)<=0) return(RESET); + +//---- основной цикл расчета индикатора Mit + for(bar=limit; bar>=0 && !IsStopped(); bar--) + { + HighRange=high[ArrayMaximum(high,bar,Sto_period)]; + LowRange=low[ArrayMinimum(low,bar,Sto_period)]; + delta=close[bar]-LowRange; + diff=(HighRange-LowRange)*100.0; + if(!diff) diff=_Point*100.0; + MIT=delta/(HighRange-LowRange)*100.0; + Mit[Count[0]]=smooth_coefficient*(MIT-Mit[Count[1]])+Mit[Count[1]]; + HighRange=Mit[ArrayMaximum(Mit,0,Sto_period)]; + LowRange=Mit[ArrayMinimum(Mit,0,Sto_period)]; + delta=Mit[Count[0]]-LowRange; + DSS=delta/(HighRange-LowRange)*100.0; + Dss=smooth_coefficient*(DSS-Dss_prev)+Dss_prev; + //--- + BuyBuffer[bar]=NULL; + SellBuffer[bar]=NULL; + //--- + if(Mit[Count[1]]<=Dss_prev && Mit[Count[0]]>Dss) BuyBuffer[bar]=low[bar]-ATR[bar]*3/8; + if(Mit[Count[1]]>=Dss_prev && Mit[Count[0]]Max1) numb-=Max2; + CoArr[iii]=numb; + } +//---- + } +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//--- получение хендла индикатора ATR + int ATR_Period=12; + ATR_Handle=iATR(NULL,0,ATR_Period); + if(ATR_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора ATR"); + return(INIT_FAILED); + } +//---- Инициализация переменных начала отсчёта данных + min_rates_total=int(MathMax(ATR_Period,Sto_period+1)); +//---- Инициализация переменных + smooth_coefficient=2.0/(1.0+EMA_period); +//---- распределение памяти под массивы переменных + ArrayResize(Count,Sto_period); + ArrayResize(Mit,Sto_period); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,SellBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 1 + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(0,PLOT_ARROW,170); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(SellBuffer,true); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 2 + PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(1,PLOT_ARROW,170); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(BuyBuffer,true); +//---- инициализации переменной для короткого имени индикатора + string shortname; + StringConcatenate(shortname,"DSSBressertSignAlert(",EMA_period,", ",Sto_period,")"); +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); + +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,_Digits); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate( + const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[] + ) + { +//--- проверка количества баров на достаточность для расчета + if(BarsCalculated(ATR_Handle)rates_total || prev_calculated<=0)// проверка на первый старт расчета индикатора + { + limit=rates_total-min_rates_total-1; // стартовый номер для расчета всех баров + ArrayInitialize(Count,0); + ArrayInitialize(Mit,50.0); + Dss_prev=50; + } + else limit=rates_total-prev_calculated; // стартовый номер для расчета новых баров + to_copy=limit+1; + +//--- копируем вновь появившиеся данные в массив ATR[] + if(CopyBuffer(ATR_Handle,0,0,to_copy,ATR)<=0) return(RESET); + +//---- основной цикл расчета индикатора Mit + for(bar=limit; bar>=0 && !IsStopped(); bar--) + { + HighRange=high[ArrayMaximum(high,bar,Sto_period)]; + LowRange=low[ArrayMinimum(low,bar,Sto_period)]; + delta=close[bar]-LowRange; + diff=(HighRange-LowRange)*100.0; + if(!diff) diff=_Point*100.0; + MIT=delta/(HighRange-LowRange)*100.0; + Mit[Count[0]]=smooth_coefficient*(MIT-Mit[Count[1]])+Mit[Count[1]]; + HighRange=Mit[ArrayMaximum(Mit,0,Sto_period)]; + LowRange=Mit[ArrayMinimum(Mit,0,Sto_period)]; + delta=Mit[Count[0]]-LowRange; + DSS=delta/(HighRange-LowRange)*100.0; + Dss=smooth_coefficient*(DSS-Dss_prev)+Dss_prev; + //--- + BuyBuffer[bar]=NULL; + SellBuffer[bar]=NULL; + //--- + if(Mit[Count[1]]<=Dss_prev && Mit[Count[0]]>Dss) BuyBuffer[bar]=low[bar]-ATR[bar]*3/8; + if(Mit[Count[1]]>=Dss_prev && Mit[Count[0]]=0; k++) + { + min = MathMin(rsibuf[i-k],min); + max = MathMax(rsibuf[i-k],max); + } + if (max!=min) + stobuf[i] = 100*(rsibuf[i]-min)/(max-min); + else stobuf[i] = 0; + + // + // + // + // + // + + dtosc[i] = 0; for (int k=0; k=0; k++) dtosc[i] += stobuf[i-k]; dtosc[i] /= SlowingPeriod; + dtoss[i] = 0; for (int k=0; k=0; k++) dtoss[i] += dtosc[i-k]; dtoss[i] /= SignalPeriod; + if (TapeVisible) + { dtosf1[i] = dtosc[i]; dtosf2[i] = dtoss[i]; } + else { dtosf1[i] = EMPTY_VALUE; dtosf2[i] = EMPTY_VALUE; } + } + + // + // + // + // + // + + return(rates_total); +} + + +//+------------------------------------------------------------------+ +//| | +//+------------------------------------------------------------------+ +// +// +// +// +// + +double rsiWork[][3]; +#define _price 0 +#define _chgAvg 1 +#define _totChg 2 + +// +// +// +// +// + +double iRsi(double price, double period, int i, int bars) +{ + if (ArrayRange(rsiWork,0)!=bars) ArrayResize(rsiWork,bars); + + // + // + // + // + // + // + + rsiWork[i][_price] = price; + if (i==0) + { + rsiWork[i][_chgAvg] = 0; + rsiWork[i][_totChg] = 0; + return(50); + } + + // + // + // + // + // + + double sf = 1.0 / period; + double change = rsiWork[i][_price]-rsiWork[i-1][_price]; + + rsiWork[i][_chgAvg] = rsiWork[i-1][_chgAvg] + sf*( change -rsiWork[i-1][_chgAvg]); + rsiWork[i][_totChg] = rsiWork[i-1][_totChg] + sf*(MathAbs(change)-rsiWork[i-1][_totChg]); + + double changeRatio = (rsiWork[i][_totChg]!=0 ? rsiWork[i][_chgAvg]/rsiWork[i][_totChg] : 0 ); + return(50.0*(changeRatio+1.0)); +} \ No newline at end of file diff --git a/DT Oscillator - indicator for MetaTrader 5/indicator.png b/DT Oscillator - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DT Oscillator - indicator for MetaTrader 5/indicator.png differ diff --git a/DT Oscillator - indicator for MetaTrader 5/logo-2.png b/DT Oscillator - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DT Oscillator - indicator for MetaTrader 5/logo-2.png differ diff --git a/DWMA with JMA oscillator - indicator for MetaTrader 5/README.md b/DWMA with JMA oscillator - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..3c2b9c4 --- /dev/null +++ b/DWMA with JMA oscillator - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dwma_with_jma_oscillator.mq5` + +### Screenshots: +![Screenshot](cb__30.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DWMA with JMA oscillator - indicator for MetaTrader 5/cb__30.png b/DWMA with JMA oscillator - indicator for MetaTrader 5/cb__30.png new file mode 100644 index 0000000..2d32a66 Binary files /dev/null and b/DWMA with JMA oscillator - indicator for MetaTrader 5/cb__30.png differ diff --git a/DWMA with JMA oscillator - indicator for MetaTrader 5/dwma_with_jma_oscillator.mq5 b/DWMA with JMA oscillator - indicator for MetaTrader 5/dwma_with_jma_oscillator.mq5 new file mode 100644 index 0000000..b8f94ee Binary files /dev/null and b/DWMA with JMA oscillator - indicator for MetaTrader 5/dwma_with_jma_oscillator.mq5 differ diff --git a/DWMA with JMA oscillator - indicator for MetaTrader 5/indicator.png b/DWMA with JMA oscillator - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DWMA with JMA oscillator - indicator for MetaTrader 5/indicator.png differ diff --git a/DWMA with JMA oscillator - indicator for MetaTrader 5/logo-2.png b/DWMA with JMA oscillator - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DWMA with JMA oscillator - indicator for MetaTrader 5/logo-2.png differ diff --git a/DWMA with JMA ribbon - indicator for MetaTrader 5/README.md b/DWMA with JMA ribbon - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..82be0f1 --- /dev/null +++ b/DWMA with JMA ribbon - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dwma_with_jma_ribbon.mq5` + +### Screenshots: +![Screenshot](cb__29.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DWMA with JMA ribbon - indicator for MetaTrader 5/cb__29.png b/DWMA with JMA ribbon - indicator for MetaTrader 5/cb__29.png new file mode 100644 index 0000000..6912bea Binary files /dev/null and b/DWMA with JMA ribbon - indicator for MetaTrader 5/cb__29.png differ diff --git a/DWMA with JMA ribbon - indicator for MetaTrader 5/dwma_with_jma_ribbon.mq5 b/DWMA with JMA ribbon - indicator for MetaTrader 5/dwma_with_jma_ribbon.mq5 new file mode 100644 index 0000000..f087a2e Binary files /dev/null and b/DWMA with JMA ribbon - indicator for MetaTrader 5/dwma_with_jma_ribbon.mq5 differ diff --git a/DWMA with JMA ribbon - indicator for MetaTrader 5/indicator.png b/DWMA with JMA ribbon - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DWMA with JMA ribbon - indicator for MetaTrader 5/indicator.png differ diff --git a/DWMA with JMA ribbon - indicator for MetaTrader 5/logo-2.png b/DWMA with JMA ribbon - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DWMA with JMA ribbon - indicator for MetaTrader 5/logo-2.png differ diff --git a/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_h.png b/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_h.png new file mode 100644 index 0000000..2fc1b1e Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_h.png differ diff --git a/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_l.png b/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_l.png new file mode 100644 index 0000000..bcaa843 Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/DZP_Trend_l.png differ diff --git a/DZP_Trend - indicator for MetaTrader 5/README.md b/DZP_Trend - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..8d0e513 --- /dev/null +++ b/DZP_Trend - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dzp_trend.mq5` + +### Screenshots: +![Screenshot](DZP_Trend_h.png) +![Screenshot](DZP_Trend_l.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DZP_Trend - indicator for MetaTrader 5/dzp_trend.mq5 b/DZP_Trend - indicator for MetaTrader 5/dzp_trend.mq5 new file mode 100644 index 0000000..d78eb5a Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/dzp_trend.mq5 differ diff --git a/DZP_Trend - indicator for MetaTrader 5/expert.png b/DZP_Trend - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/expert.png differ diff --git a/DZP_Trend - indicator for MetaTrader 5/indicator.png b/DZP_Trend - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/indicator.png differ diff --git a/DZP_Trend - indicator for MetaTrader 5/logo-2.png b/DZP_Trend - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DZP_Trend - indicator for MetaTrader 5/logo-2.png differ diff --git a/D_Oscillator - indicator for MetaTrader 5/D_Oscillator.png b/D_Oscillator - indicator for MetaTrader 5/D_Oscillator.png new file mode 100644 index 0000000..9158a7a Binary files /dev/null and b/D_Oscillator - indicator for MetaTrader 5/D_Oscillator.png differ diff --git a/D_Oscillator - indicator for MetaTrader 5/README.md b/D_Oscillator - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..43f0ee2 --- /dev/null +++ b/D_Oscillator - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `d_oscillator.mq5` + +### Screenshots: +![Screenshot](D_Oscillator.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/D_Oscillator - indicator for MetaTrader 5/d_oscillator.mq5 b/D_Oscillator - indicator for MetaTrader 5/d_oscillator.mq5 new file mode 100644 index 0000000..800ee51 Binary files /dev/null and b/D_Oscillator - indicator for MetaTrader 5/d_oscillator.mq5 differ diff --git a/D_Oscillator - indicator for MetaTrader 5/expert.png b/D_Oscillator - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/D_Oscillator - indicator for MetaTrader 5/expert.png differ diff --git a/D_Oscillator - indicator for MetaTrader 5/indicator.png b/D_Oscillator - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/D_Oscillator - indicator for MetaTrader 5/indicator.png differ diff --git a/D_Oscillator - indicator for MetaTrader 5/logo-2.png b/D_Oscillator - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/D_Oscillator - indicator for MetaTrader 5/logo-2.png differ diff --git a/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/README.md b/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..3555933 --- /dev/null +++ b/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `digital_cci_woodies.mq5` + +### Screenshots: +![Screenshot](picture__43.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/digital_cci_woodies.mq5 b/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/digital_cci_woodies.mq5 new file mode 100644 index 0000000..5e3e0d9 --- /dev/null +++ b/Digital_CCI_Woodies_HTF - indicator for MetaTrader 5/digital_cci_woodies.mq5 @@ -0,0 +1,201 @@ +//+---------------------------------------------------------------------+ +//| Digital_CCI_Woodies.mq5 | +//| Copyright © 2015, Ramdass | +//| | +//+---------------------------------------------------------------------+ +//| Для работы индикатора следует положить файл SmoothAlgorithms.mqh | +//| в папку (директорию): каталог_данных_терминала\\MQL5\Include | +//+---------------------------------------------------------------------+ +#property copyright "Copyright © 2015, Ramdass" +#property link "" +//---- номер версии индикатора +#property version "1.00" +//---- отрисовка индикатора в отдельном окне +#property indicator_separate_window +//---- количество индикаторных буферов 2 +#property indicator_buffers 2 +//---- использовано одно графическое построение +#property indicator_plots 1 +//+-----------------------------------+ +//| Параметры отрисовки индикатора | +//+-----------------------------------+ +//---- отрисовка индикатора в виде цветного облака +#property indicator_type1 DRAW_FILLING +//---- в качестве цветов индикатора использованы +#property indicator_color1 clrHotPink,clrMediumAquamarine +//---- отображение метки индикатора +#property indicator_label1 "Digital_CCI_Woodies" +//+-----------------------------------+ +//| Описание класса CXMA | +//+-----------------------------------+ +#include +//+-----------------------------------+ +//---- объявление переменных класса CXMA из файла SmoothAlgorithms.mqh +CXMA XMA1,XMA2,XMA3,XMA4; +//+-----------------------------------+ +//| Объявление перечислений | +//+-----------------------------------+ +enum Applied_price_ //Тип константы + { + PRICE_CLOSE_ = 1, //Close + PRICE_OPEN_, //Open + PRICE_HIGH_, //High + PRICE_LOW_, //Low + PRICE_MEDIAN_, //Median Price (HL/2) + PRICE_TYPICAL_, //Typical Price (HLC/3) + PRICE_WEIGHTED_, //Weighted Close (HLCC/4) + PRICE_SIMPL_, //Simpl Price (OC/2) + PRICE_QUARTER_, //Quarted Price (HLOC/4) + PRICE_TRENDFOLLOW0_, //TrendFollow_1 Price + PRICE_TRENDFOLLOW1_, //TrendFollow_2 Price + PRICE_DEMARK_ //Demark Price + }; +//+-----------------------------------+ +//| Объявление перечислений | +//+-----------------------------------+ +/*enum Smooth_Method - перечисление объявлено в файле SmoothAlgorithms.mqh + { + MODE_SMA_, //SMA + MODE_EMA_, //EMA + MODE_SMMA_, //SMMA + MODE_LWMA_, //LWMA + MODE_JJMA, //JJMA + MODE_JurX, //JurX + MODE_ParMA, //ParMA + MODE_T3, //T3 + MODE_VIDYA, //VIDYA + MODE_AMA, //AMA + }; */ +//+-----------------------------------+ +//| Входные параметры индикатора | +//+-----------------------------------+ +input Smooth_Method MA_Method1=MODE_SMA; // Метод усреднения первого сглаживания +input int Length1=14; // Глубина первого сглаживания +input int Phase1=15; // Параметр первого сглаживания +//--- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//--- для VIDIA это период CMO, для AMA это период медленной скользящей +input Smooth_Method MA_Method2=MODE_SMA; // Метод усреднения второго сглаживания +input int Length2=6; // Глубина второго сглаживания +input int Phase2=15; // Параметр второго сглаживания + //--- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//--- для VIDIA это период CMO, для AMA это период медленной скользящей +input Applied_price_ IPC=PRICE_CLOSE; // Ценовая константа +input int Shift=0; // Сдвиг индикатора по горизонтали в барах +//+-----------------------------------+ +//---- объявление динамических массивов, которые будут в +//---- дальнейшем использованы в качестве индикаторных буферов +double ExtABuffer[],ExtBBuffer[]; +//---- объявление целочисленных переменных начала отсчета данных +int min_rates_total,min_rates_,min_rates_1,min_rates_2; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +void OnInit() + { +//---- инициализация переменных начала отсчета данных + min_rates_=26; + min_rates_1=min_rates_+GetStartBars(MA_Method1,Length1,Phase1); + min_rates_2=min_rates_+GetStartBars(MA_Method2,Length2,Phase2); + min_rates_total=2*(MathMax(min_rates_1,min_rates_2)-min_rates_)+min_rates_; +//---- установка алертов на недопустимые значения внешних переменных + XMA1.XMALengthCheck("Length1", Length1); + XMA2.XMALengthCheck("Length2", Length2); +//---- установка алертов на недопустимые значения внешних переменных + XMA1.XMAPhaseCheck("Phase1", Phase1, MA_Method1); + XMA2.XMAPhaseCheck("Phase2", Phase2, MA_Method2); +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,ExtABuffer,INDICATOR_DATA); + SetIndexBuffer(1,ExtBBuffer,INDICATOR_DATA); +//---- осуществление сдвига индикатора 1 по горизонтали + PlotIndexSetInteger(0,PLOT_SHIFT,Shift); +//---- осуществление сдвига начала отсчета отрисовки индикатора + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); +//---- установка значений индикатора, которые не будут видимы на графике + PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,EMPTY_VALUE); +//---- инициализация переменной для короткого имени индикатора + string shortname; + string Smooth1=XMA1.GetString_MA_Method(MA_Method1); + string Smooth2=XMA1.GetString_MA_Method(MA_Method2); + StringConcatenate(shortname,"Digital_CCI_Woodies(",Length1,", ",Length2,", ",Smooth1,", ",Smooth2,")"); +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//---- завершение инициализации + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) + { +//---- проверка количества баров на достаточность для расчета + if(rates_totalrates_total || prev_calculated<=0) // проверка на первый старт расчета индикатора + first=min_rates_; // стартовый номер для расчета всех баров + else first=prev_calculated-1; // стартовый номер для расчета новых баров +//---- основной цикл расчета индикатора + for(bar=first; bar Made with вќ¤пёЏ for the trading community. diff --git a/Digital_CCI_Woodies_Sign - indicator for MetaTrader 5/digital_cci_woodies_sign.mq5 b/Digital_CCI_Woodies_Sign - indicator for MetaTrader 5/digital_cci_woodies_sign.mq5 new file mode 100644 index 0000000..aef983b --- /dev/null +++ b/Digital_CCI_Woodies_Sign - indicator for MetaTrader 5/digital_cci_woodies_sign.mq5 @@ -0,0 +1,261 @@ +//+---------------------------------------------------------------------+ +//| Digital_CCI_Woodies_Sign.mq5 | +//| Copyright © 2015, Ramdass | +//| | +//+---------------------------------------------------------------------+ +//| Для работы индикатора следует положить файл SmoothAlgorithms.mqh | +//| в папку (директорию): каталог_данных_терминала\\MQL5\Include | +//+---------------------------------------------------------------------+ +#property copyright "Copyright © 2015, Ramdass" +#property link "" +//---- номер версии индикатора +#property version "1.00" +//--- отрисовка индикатора в главном окне +#property indicator_chart_window +//--- для расчета и отрисовки индикатора использовано два буфера +#property indicator_buffers 2 +//--- использовано два графических построения +#property indicator_plots 2 +//+----------------------------------------------+ +//| Параметры отрисовки медвежьего индикатора | +//+----------------------------------------------+ +//--- отрисовка индикатора 1 в виде символа +#property indicator_type1 DRAW_ARROW +//--- в качестве цвета медвежьей линии индикатора использован Red цвет +#property indicator_color1 clrRed +//--- толщина линии индикатора 1 равна 4 +#property indicator_width1 4 +//--- отображение медвежьей метки индикатора +#property indicator_label1 "Digital_CCI_Woodies Sell" +//+----------------------------------------------+ +//| Параметры отрисовки бычьего индикатора | +//+----------------------------------------------+ +//--- отрисовка индикатора 2 в виде символа +#property indicator_type2 DRAW_ARROW +//--- в качестве цвета бычьей линии индикатора использован DarkTurquoisee цвет +#property indicator_color2 clrDarkTurquoise +//--- толщина линии индикатора 2 равна 4 +#property indicator_width2 4 +//--- отображение бычьей метки индикатора +#property indicator_label2 "Digital_CCI_Woodies Buy" +//+----------------------------------------------+ +//| Объявление констант | +//+----------------------------------------------+ +#define RESET 0 // константа для возврата терминалу команды на пересчет индикатора +//+----------------------------------------------+ +//| Описание класса CXMA | +//+----------------------------------------------+ +#include +//+----------------------------------------------+ +//---- объявление переменных класса CXMA из файла SmoothAlgorithms.mqh +CXMA XMA1,XMA2,XMA3,XMA4; +//+----------------------------------------------+ +//| Объявление перечислений | +//+----------------------------------------------+ +enum Applied_price_ //Тип константы + { + PRICE_CLOSE_ = 1, //Close + PRICE_OPEN_, //Open + PRICE_HIGH_, //High + PRICE_LOW_, //Low + PRICE_MEDIAN_, //Median Price (HL/2) + PRICE_TYPICAL_, //Typical Price (HLC/3) + PRICE_WEIGHTED_, //Weighted Close (HLCC/4) + PRICE_SIMPL_, //Simpl Price (OC/2) + PRICE_QUARTER_, //Quarted Price (HLOC/4) + PRICE_TRENDFOLLOW0_, //TrendFollow_1 Price + PRICE_TRENDFOLLOW1_, //TrendFollow_2 Price + PRICE_DEMARK_ //Demark Price + }; +//+----------------------------------------------+ +//| Объявление перечислений | +//+----------------------------------------------+ +/*enum Smooth_Method - перечисление объявлено в файле SmoothAlgorithms.mqh + { + MODE_SMA_, //SMA + MODE_EMA_, //EMA + MODE_SMMA_, //SMMA + MODE_LWMA_, //LWMA + MODE_JJMA, //JJMA + MODE_JurX, //JurX + MODE_ParMA, //ParMA + MODE_T3, //T3 + MODE_VIDYA, //VIDYA + MODE_AMA, //AMA + }; */ +//+----------------------------------------------+ +//| Входные параметры индикатора | +//+----------------------------------------------+ +input Smooth_Method MA_Method1=MODE_SMA; // Метод усреднения первого сглаживания +input int Length1=14; // Глубина первого сглаживания +input int Phase1=15; // Параметр первого сглаживания +//--- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//--- для VIDIA это период CMO, для AMA это период медленной скользящей +input Smooth_Method MA_Method2=MODE_SMA; // Метод усреднения второго сглаживания +input int Length2=6; // Глубина второго сглаживания +input int Phase2=15; // Параметр второго сглаживания + //--- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//--- для VIDIA это период CMO, для AMA это период медленной скользящей +input Applied_price_ IPC=PRICE_CLOSE; // Ценовая константа +input int Shift=0; // Сдвиг индикатора по горизонтали в барах +//+----------------------------------------------+ +//--- объявление динамических массивов, которые в дальнейшем +//--- будут использованы в качестве индикаторных буферов +double SellBuffer[],BuyBuffer[]; +//--- объявление целочисленных переменных для хендлов индикаторов +int ATR_Handle; +//---- объявление целочисленных переменных начала отсчета данных +int min_rates_total,min_rates_,min_rates_1,min_rates_2; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//--- получение хендла индикатора ATR + int ATR_Period=15; + ATR_Handle=iATR(NULL,0,ATR_Period); + if(ATR_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора ATR"); + return(INIT_FAILED); + } +//---- инициализация переменных начала отсчета данных + min_rates_=26; + min_rates_1=min_rates_+GetStartBars(MA_Method1,Length1,Phase1); + min_rates_2=min_rates_+GetStartBars(MA_Method2,Length2,Phase2); + min_rates_total=2*(MathMax(min_rates_1,min_rates_2)-min_rates_)+min_rates_+1; + min_rates_total=MathMax(min_rates_total,ATR_Period); +//---- установка алертов на недопустимые значения внешних переменных + XMA1.XMALengthCheck("Length1", Length1); + XMA2.XMALengthCheck("Length2", Length2); +//---- установка алертов на недопустимые значения внешних переменных + XMA1.XMAPhaseCheck("Phase1", Phase1, MA_Method1); + XMA2.XMAPhaseCheck("Phase2", Phase2, MA_Method2); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,SellBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 1 + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(0,PLOT_ARROW,172); +//--- осуществление сдвига индикатора 1 по горизонтали + PlotIndexSetInteger(0,PLOT_SHIFT,Shift); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,BuyBuffer,INDICATOR_DATA); +//--- осуществление сдвига начала отсчета отрисовки индикатора 2 + PlotIndexSetInteger(1,PLOT_DRAW_BEGIN,min_rates_total); +//--- символ для индикатора + PlotIndexSetInteger(1,PLOT_ARROW,172); +//--- осуществление сдвига индикатора 1 по горизонтали + PlotIndexSetInteger(1,PLOT_SHIFT,Shift); +//---- инициализация переменной для короткого имени индикатора + string shortname; + string Smooth1=XMA1.GetString_MA_Method(MA_Method1); + string Smooth2=XMA1.GetString_MA_Method(MA_Method2); + StringConcatenate(shortname,"Digital_CCI_Woodies(",Length1,", ",Length2,", ",Smooth1,", ",Smooth2,")"); +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,_Digits); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) + { +//--- проверка количества баров на достаточность для расчета + if(BarsCalculated(ATR_Handle)rates_total || prev_calculated<=0) // проверка на первый старт расчета индикатора + first=min_rates_; // стартовый номер для расчета всех баров + else first=prev_calculated-1; // стартовый номер для расчета новых баров +//---- основной цикл расчета индикатора + for(bar=first; barslow) + { + //--- копируем вновь появившиеся данные в массив + if(CopyBuffer(ATR_Handle,0,time[bar],1,ATR)<=0) return(RESET); + BuyBuffer[bar]=low[bar]-ATR[0]*3/8; + } + //--- + if(fast_prev>=slow_prev && fast Made with вќ¤пёЏ for the trading community. diff --git a/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/dinapoli_preferred_stochastic.mq5 b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/dinapoli_preferred_stochastic.mq5 new file mode 100644 index 0000000..4d1c53b Binary files /dev/null and b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/dinapoli_preferred_stochastic.mq5 differ diff --git a/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/indicator.png b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/indicator.png differ diff --git a/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/logo-2.png b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Dinapoli_Preferred_Stochastic - indicator for MetaTrader 5/logo-2.png differ diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/README.md b/DirectCandlesCounter - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f79a166 --- /dev/null +++ b/DirectCandlesCounter - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `directcandlescounter.mq5` + +### Screenshots: +![Screenshot](picture__18.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/directcandlescounter.mq5 b/DirectCandlesCounter - indicator for MetaTrader 5/directcandlescounter.mq5 new file mode 100644 index 0000000..5a1535a Binary files /dev/null and b/DirectCandlesCounter - indicator for MetaTrader 5/directcandlescounter.mq5 differ diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/expert.png b/DirectCandlesCounter - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DirectCandlesCounter - indicator for MetaTrader 5/expert.png differ diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/indicator.png b/DirectCandlesCounter - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DirectCandlesCounter - indicator for MetaTrader 5/indicator.png differ diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/logo-2.png b/DirectCandlesCounter - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DirectCandlesCounter - indicator for MetaTrader 5/logo-2.png differ diff --git a/DirectCandlesCounter - indicator for MetaTrader 5/picture__18.png b/DirectCandlesCounter - indicator for MetaTrader 5/picture__18.png new file mode 100644 index 0000000..9b1ff3d Binary files /dev/null and b/DirectCandlesCounter - indicator for MetaTrader 5/picture__18.png differ diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/README.md b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..01b773b --- /dev/null +++ b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `directcandlescounter_candle.mq5` + +### Screenshots: +![Screenshot](picture__19.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/directcandlescounter_candle.mq5 b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/directcandlescounter_candle.mq5 new file mode 100644 index 0000000..8444789 Binary files /dev/null and b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/directcandlescounter_candle.mq5 differ diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/expert.png b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/expert.png differ diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/indicator.png b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/indicator.png differ diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/logo-2.png b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/logo-2.png differ diff --git a/DirectCandlesCounter_Candle - indicator for MetaTrader 5/picture__19.png b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/picture__19.png new file mode 100644 index 0000000..700210c Binary files /dev/null and b/DirectCandlesCounter_Candle - indicator for MetaTrader 5/picture__19.png differ diff --git a/Directed_Movement - indicator for MetaTrader 5/Directed_Movement.mq5 b/Directed_Movement - indicator for MetaTrader 5/Directed_Movement.mq5 new file mode 100644 index 0000000..458c0ce --- /dev/null +++ b/Directed_Movement - indicator for MetaTrader 5/Directed_Movement.mq5 @@ -0,0 +1,171 @@ +//+---------------------------------------------------------------------+ +//| Directed_Movement.mq5 | +//| Copyright © 2015, Yuriy Tokman (YTG) | +//| http://ytg.com.ua/ | +//+---------------------------------------------------------------------+ +//| Для работы индикатора следует положить файл SmoothAlgorithms.mqh | +//| в папку (директорию): каталог_данных_терминала\\MQL5\Include | +//+---------------------------------------------------------------------+ +#property copyright "Copyright © 2015, Yuriy Tokman (YTG)" +#property link "http://ytg.com.ua/" +//---- номер версии индикатора +#property version "1.00" +//---- отрисовка индикатора в отдельном окне +#property indicator_separate_window +//---- количество индикаторных буферов 2 +#property indicator_buffers 2 +//---- использовано всего одно графическое построение +#property indicator_plots 1 +//+----------------------------------------------+ +//| Параметры отрисовки индикатора | +//+----------------------------------------------+ +//---- отрисовка индикатора 1 в виде облака +#property indicator_type1 DRAW_FILLING +//---- в качестве цветов облака +#property indicator_color1 clrForestGreen,clrOrangeRed +//---- отображение метки индикатора +#property indicator_label1 "Directed_Movement" +//+----------------------------------------------+ +//| Описание класса CXMA | +//+----------------------------------------------+ +#include +//+----------------------------------------------+ +//---- объявление переменных класса CXMA из файла SmoothAlgorithms.mqh +CXMA XMA1,XMA2; +//+----------------------------------------------+ +//| объявление перечислений | +//+----------------------------------------------+ +/*enum Smooth_Method - перечисление объявлено в файле SmoothAlgorithms.mqh + { + MODE_SMA_, //SMA + MODE_EMA_, //EMA + MODE_SMMA_, //SMMA + MODE_LWMA_, //LWMA + MODE_JJMA, //JJMA + MODE_JurX, //JurX + MODE_ParMA, //ParMA + MODE_T3, //T3 + MODE_VIDYA, //VIDYA + MODE_AMA, //AMA + }; */ +//+----------------------------------------------+ +//| объявление констант | +//+----------------------------------------------+ +#define RESET 0 // Константа для возврата терминалу команды на пересчёт индикатора +//+----------------------------------------------+ +//| ВХОДНЫЕ ПАРАМЕТРЫ ИНДИКАТОРА | +//+----------------------------------------------+ +input uint RSIPeriod=14; // период индикатора +input ENUM_APPLIED_PRICE RSIPrice=PRICE_CLOSE; // цена +input Smooth_Method MA_Method1=MODE_SMA_; // метод усреднения первого сглаживания +input int Length1=12; // глубина первого сглаживания +input int Phase1=15; // параметр первого сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input Smooth_Method MA_Method2=MODE_JJMA; // метод усреднения второго сглаживания +input int Length2 = 5; // глубина второго сглаживания +input int Phase2=15; // параметр второго сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input int Shift=0; // сдвиг индикатора по горизонтали в барах +//+----------------------------------------------+ +//---- объявление динамических массивов, которые будут в +// дальнейшем использованы в качестве индикаторных буферов +double XRSIBuffer[]; +double XXRSIBuffer[]; +//---- Объявление целых переменных начала отсчёта данных +int min_rates_total,min_rates_1,min_rates_2; +//---- Объявление целых переменных для хендлов индикаторов +int RSI_Handle; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//---- Инициализация переменных начала отсчёта данных + min_rates_1=int(RSIPeriod); + min_rates_2=min_rates_1+GetStartBars(MA_Method1,Length1,Phase1); + min_rates_total=min_rates_2+GetStartBars(MA_Method2,Length2,Phase2); + +//---- получение хендла индикатора iRSI + RSI_Handle=iRSI(NULL,0,RSIPeriod,RSIPrice); + if(RSI_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора iRSI"); + return(INIT_FAILED); + } +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,XRSIBuffer,INDICATOR_DATA); +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,XXRSIBuffer,INDICATOR_DATA); +//---- осуществление сдвига индикатора 1 по горизонтали на Shift + PlotIndexSetInteger(0,PLOT_SHIFT,Shift); +//---- осуществление сдвига начала отсчёта отрисовки индикатора 1 на min_rates_total + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); + +//---- инициализации переменной для короткого имени индикатора + string shortname="Directed_Movement"; +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//---- количество горизонтальных уровней индикатора 3 + IndicatorSetInteger(INDICATOR_LEVELS,3); +//---- значения горизонтальных уровней индикатора + IndicatorSetDouble(INDICATOR_LEVELVALUE,0,70); + IndicatorSetDouble(INDICATOR_LEVELVALUE,1,50); + IndicatorSetDouble(INDICATOR_LEVELVALUE,2,30); +//---- в качестве цветов линий горизонтальных уровней использованы цвета + IndicatorSetInteger(INDICATOR_LEVELCOLOR,0,clrBlue); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,1,clrGray); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,2,clrMagenta); +//---- в линии горизонтального уровня использован короткий штрих-пунктир + IndicatorSetInteger(INDICATOR_LEVELSTYLE,0,STYLE_DASHDOTDOT); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,1,STYLE_DASH); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,2,STYLE_DASHDOTDOT); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate( + const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double& high[], // ценовой массив максимумов цены для расчёта индикатора + const double& low[], // ценовой массив минимумов цены для расчёта индикатора + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[] + ) + { +//---- проверка количества баров на достаточность для расчёта + if(BarsCalculated(RSI_Handle)rates_total || prev_calculated<=0) // проверка на первый старт расчёта индикатора + first=min_rates_1; // стартовый номер для расчёта всех баров + else first=prev_calculated-1; // стартовый номер для расчёта новых баров + +//---- Основной цикл расчёта индикатора + for(bar=first; bar Made with вќ¤пёЏ for the trading community. diff --git a/Directed_Movement - indicator for MetaTrader 5/indicator.png b/Directed_Movement - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directed_Movement - indicator for MetaTrader 5/indicator.png differ diff --git a/Directed_Movement - indicator for MetaTrader 5/logo-2.png b/Directed_Movement - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directed_Movement - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directed_Movement - indicator for MetaTrader 5/picture__1.png b/Directed_Movement - indicator for MetaTrader 5/picture__1.png new file mode 100644 index 0000000..c731473 Binary files /dev/null and b/Directed_Movement - indicator for MetaTrader 5/picture__1.png differ diff --git a/Directed_Movement_Candle - indicator for MetaTrader 5/Directed_Movement.mq5 b/Directed_Movement_Candle - indicator for MetaTrader 5/Directed_Movement.mq5 new file mode 100644 index 0000000..c517dd8 --- /dev/null +++ b/Directed_Movement_Candle - indicator for MetaTrader 5/Directed_Movement.mq5 @@ -0,0 +1,169 @@ +//+---------------------------------------------------------------------+ +//| Directed_Movement.mq5 | +//| Copyright © 2015, Yuriy Tokman (YTG) | +//| http://ytg.com.ua/ | +//+---------------------------------------------------------------------+ +//| Для работы индикатора следует положить файл SmoothAlgorithms.mqh | +//| в папку (директорию): каталог_данных_терминала\\MQL5\Include | +//+---------------------------------------------------------------------+ +#property copyright "Copyright © 2015, Yuriy Tokman (YTG)" +#property link "http://ytg.com.ua/" +//---- номер версии индикатора +#property version "1.00" +//---- отрисовка индикатора в отдельном окне +#property indicator_separate_window +//---- количество индикаторных буферов 2 +#property indicator_buffers 2 +//---- использовано всего одно графическое построение +#property indicator_plots 1 +//+----------------------------------------------+ +//| Параметры отрисовки индикатора | +//+----------------------------------------------+ +//---- отрисовка индикатора 1 в виде облака +#property indicator_type1 DRAW_FILLING +//---- в качестве цветов облака +#property indicator_color1 clrForestGreen,clrOrangeRed +//---- отображение метки индикатора +#property indicator_label1 "Directed_Movement" +//+----------------------------------------------+ +//| Описание класса CXMA | +//+----------------------------------------------+ +#include +//+----------------------------------------------+ +//---- объявление переменных класса CXMA из файла SmoothAlgorithms.mqh +CXMA XMA1,XMA2; +//+----------------------------------------------+ +//| объявление перечислений | +//+----------------------------------------------+ +/*enum Smooth_Method - перечисление объявлено в файле SmoothAlgorithms.mqh + { + MODE_SMA_, //SMA + MODE_EMA_, //EMA + MODE_SMMA_, //SMMA + MODE_LWMA_, //LWMA + MODE_JJMA, //JJMA + MODE_JurX, //JurX + MODE_ParMA, //ParMA + MODE_T3, //T3 + MODE_VIDYA, //VIDYA + MODE_AMA, //AMA + }; */ +//+----------------------------------------------+ +//| объявление констант | +//+----------------------------------------------+ +#define RESET 0 // Константа для возврата терминалу команды на пересчёт индикатора +//+----------------------------------------------+ +//| ВХОДНЫЕ ПАРАМЕТРЫ ИНДИКАТОРА | +//+----------------------------------------------+ +input uint RSIPeriod=14; // период индикатора +input ENUM_APPLIED_PRICE RSIPrice=PRICE_CLOSE; // цена +input Smooth_Method MA_Method1=MODE_SMA_; // метод усреднения первого сглаживания +input int Length1=12; // глубина первого сглаживания +input int Phase1=15; // параметр первого сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input Smooth_Method MA_Method2=MODE_JJMA; // метод усреднения второго сглаживания +input int Length2 = 5; // глубина второго сглаживания +input int Phase2=15; // параметр второго сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input int Shift=0; // сдвиг индикатора по горизонтали в барах +//+----------------------------------------------+ +//---- объявление динамических массивов, которые будут в +// дальнейшем использованы в качестве индикаторных буферов +double XRSIBuffer[]; +double XXRSIBuffer[]; +//---- Объявление целых переменных начала отсчёта данных +int min_rates_total,min_rates_1,min_rates_2; +//---- Объявление целых переменных для хендлов индикаторов +int RSI_Handle; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//---- Инициализация переменных начала отсчёта данных + min_rates_1=int(RSIPeriod); + min_rates_2=min_rates_1+GetStartBars(MA_Method1,Length1,Phase1); + min_rates_total=min_rates_2+GetStartBars(MA_Method2,Length2,Phase2); + +//---- получение хендла индикатора iRSI + RSI_Handle=iRSI(NULL,0,RSIPeriod,RSIPrice); + if(RSI_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора iRSI"); + return(INIT_FAILED); + } +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,XRSIBuffer,INDICATOR_DATA); +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,XXRSIBuffer,INDICATOR_DATA); +//---- осуществление сдвига индикатора 1 по горизонтали на Shift + PlotIndexSetInteger(0,PLOT_SHIFT,Shift); +//---- осуществление сдвига начала отсчёта отрисовки индикатора 1 на min_rates_total + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); + +//---- инициализации переменной для короткого имени индикатора + string shortname="Directed_Movement"; +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//---- количество горизонтальных уровней индикатора 3 + IndicatorSetInteger(INDICATOR_LEVELS,3); +//---- значения горизонтальных уровней индикатора + IndicatorSetDouble(INDICATOR_LEVELVALUE,0,70); + IndicatorSetDouble(INDICATOR_LEVELVALUE,1,50); + IndicatorSetDouble(INDICATOR_LEVELVALUE,2,30); +//---- в качестве цветов линий горизонтальных уровней использованы цвета + IndicatorSetInteger(INDICATOR_LEVELCOLOR,0,clrBlue); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,1,clrGray); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,2,clrMagenta); +//---- в линии горизонтального уровня использован короткий штрих-пунктир + IndicatorSetInteger(INDICATOR_LEVELSTYLE,0,STYLE_DASHDOTDOT); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,1,STYLE_DASH); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,2,STYLE_DASHDOTDOT); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate( + const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double& high[], // ценовой массив максимумов цены для расчёта индикатора + const double& low[], // ценовой массив минимумов цены для расчёта индикатора + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[] + ) + { +//---- проверка количества баров на достаточность для расчёта + if(BarsCalculated(RSI_Handle)rates_total || prev_calculated<=0) // проверка на первый старт расчёта индикатора + first=min_rates_1; // стартовый номер для расчёта всех баров + else first=prev_calculated-1; // стартовый номер для расчёта новых баров + +//---- Основной цикл расчёта индикатора + for(bar=first; bar Made with вќ¤пёЏ for the trading community. diff --git a/Directed_Movement_Candle - indicator for MetaTrader 5/expert.png b/Directed_Movement_Candle - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Directed_Movement_Candle - indicator for MetaTrader 5/expert.png differ diff --git a/Directed_Movement_Candle - indicator for MetaTrader 5/indicator.png b/Directed_Movement_Candle - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directed_Movement_Candle - indicator for MetaTrader 5/indicator.png differ diff --git a/Directed_Movement_Candle - indicator for MetaTrader 5/logo-2.png b/Directed_Movement_Candle - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directed_Movement_Candle - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directed_Movement_Candle - indicator for MetaTrader 5/picture__33.png b/Directed_Movement_Candle - indicator for MetaTrader 5/picture__33.png new file mode 100644 index 0000000..da58ce4 Binary files /dev/null and b/Directed_Movement_Candle - indicator for MetaTrader 5/picture__33.png differ diff --git a/Directed_Movement_HTF - indicator for MetaTrader 5/Directed_Movement.mq5 b/Directed_Movement_HTF - indicator for MetaTrader 5/Directed_Movement.mq5 new file mode 100644 index 0000000..458c0ce --- /dev/null +++ b/Directed_Movement_HTF - indicator for MetaTrader 5/Directed_Movement.mq5 @@ -0,0 +1,171 @@ +//+---------------------------------------------------------------------+ +//| Directed_Movement.mq5 | +//| Copyright © 2015, Yuriy Tokman (YTG) | +//| http://ytg.com.ua/ | +//+---------------------------------------------------------------------+ +//| Для работы индикатора следует положить файл SmoothAlgorithms.mqh | +//| в папку (директорию): каталог_данных_терминала\\MQL5\Include | +//+---------------------------------------------------------------------+ +#property copyright "Copyright © 2015, Yuriy Tokman (YTG)" +#property link "http://ytg.com.ua/" +//---- номер версии индикатора +#property version "1.00" +//---- отрисовка индикатора в отдельном окне +#property indicator_separate_window +//---- количество индикаторных буферов 2 +#property indicator_buffers 2 +//---- использовано всего одно графическое построение +#property indicator_plots 1 +//+----------------------------------------------+ +//| Параметры отрисовки индикатора | +//+----------------------------------------------+ +//---- отрисовка индикатора 1 в виде облака +#property indicator_type1 DRAW_FILLING +//---- в качестве цветов облака +#property indicator_color1 clrForestGreen,clrOrangeRed +//---- отображение метки индикатора +#property indicator_label1 "Directed_Movement" +//+----------------------------------------------+ +//| Описание класса CXMA | +//+----------------------------------------------+ +#include +//+----------------------------------------------+ +//---- объявление переменных класса CXMA из файла SmoothAlgorithms.mqh +CXMA XMA1,XMA2; +//+----------------------------------------------+ +//| объявление перечислений | +//+----------------------------------------------+ +/*enum Smooth_Method - перечисление объявлено в файле SmoothAlgorithms.mqh + { + MODE_SMA_, //SMA + MODE_EMA_, //EMA + MODE_SMMA_, //SMMA + MODE_LWMA_, //LWMA + MODE_JJMA, //JJMA + MODE_JurX, //JurX + MODE_ParMA, //ParMA + MODE_T3, //T3 + MODE_VIDYA, //VIDYA + MODE_AMA, //AMA + }; */ +//+----------------------------------------------+ +//| объявление констант | +//+----------------------------------------------+ +#define RESET 0 // Константа для возврата терминалу команды на пересчёт индикатора +//+----------------------------------------------+ +//| ВХОДНЫЕ ПАРАМЕТРЫ ИНДИКАТОРА | +//+----------------------------------------------+ +input uint RSIPeriod=14; // период индикатора +input ENUM_APPLIED_PRICE RSIPrice=PRICE_CLOSE; // цена +input Smooth_Method MA_Method1=MODE_SMA_; // метод усреднения первого сглаживания +input int Length1=12; // глубина первого сглаживания +input int Phase1=15; // параметр первого сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input Smooth_Method MA_Method2=MODE_JJMA; // метод усреднения второго сглаживания +input int Length2 = 5; // глубина второго сглаживания +input int Phase2=15; // параметр второго сглаживания, +//---- для JJMA изменяющийся в пределах -100 ... +100, влияет на качество переходного процесса; +//---- Для VIDIA это период CMO, для AMA это период медленной скользящей +input int Shift=0; // сдвиг индикатора по горизонтали в барах +//+----------------------------------------------+ +//---- объявление динамических массивов, которые будут в +// дальнейшем использованы в качестве индикаторных буферов +double XRSIBuffer[]; +double XXRSIBuffer[]; +//---- Объявление целых переменных начала отсчёта данных +int min_rates_total,min_rates_1,min_rates_2; +//---- Объявление целых переменных для хендлов индикаторов +int RSI_Handle; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//---- Инициализация переменных начала отсчёта данных + min_rates_1=int(RSIPeriod); + min_rates_2=min_rates_1+GetStartBars(MA_Method1,Length1,Phase1); + min_rates_total=min_rates_2+GetStartBars(MA_Method2,Length2,Phase2); + +//---- получение хендла индикатора iRSI + RSI_Handle=iRSI(NULL,0,RSIPeriod,RSIPrice); + if(RSI_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора iRSI"); + return(INIT_FAILED); + } +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,XRSIBuffer,INDICATOR_DATA); +//---- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,XXRSIBuffer,INDICATOR_DATA); +//---- осуществление сдвига индикатора 1 по горизонтали на Shift + PlotIndexSetInteger(0,PLOT_SHIFT,Shift); +//---- осуществление сдвига начала отсчёта отрисовки индикатора 1 на min_rates_total + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); + +//---- инициализации переменной для короткого имени индикатора + string shortname="Directed_Movement"; +//--- создание имени для отображения в отдельном подокне и во всплывающей подсказке + IndicatorSetString(INDICATOR_SHORTNAME,shortname); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//--- определение точности отображения значений индикатора + IndicatorSetInteger(INDICATOR_DIGITS,0); +//---- количество горизонтальных уровней индикатора 3 + IndicatorSetInteger(INDICATOR_LEVELS,3); +//---- значения горизонтальных уровней индикатора + IndicatorSetDouble(INDICATOR_LEVELVALUE,0,70); + IndicatorSetDouble(INDICATOR_LEVELVALUE,1,50); + IndicatorSetDouble(INDICATOR_LEVELVALUE,2,30); +//---- в качестве цветов линий горизонтальных уровней использованы цвета + IndicatorSetInteger(INDICATOR_LEVELCOLOR,0,clrBlue); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,1,clrGray); + IndicatorSetInteger(INDICATOR_LEVELCOLOR,2,clrMagenta); +//---- в линии горизонтального уровня использован короткий штрих-пунктир + IndicatorSetInteger(INDICATOR_LEVELSTYLE,0,STYLE_DASHDOTDOT); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,1,STYLE_DASH); + IndicatorSetInteger(INDICATOR_LEVELSTYLE,2,STYLE_DASHDOTDOT); +//---- завершение инициализации + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate( + const int rates_total, // количество истории в барах на текущем тике + const int prev_calculated,// количество истории в барах на предыдущем тике + const datetime &time[], + const double &open[], + const double& high[], // ценовой массив максимумов цены для расчёта индикатора + const double& low[], // ценовой массив минимумов цены для расчёта индикатора + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[] + ) + { +//---- проверка количества баров на достаточность для расчёта + if(BarsCalculated(RSI_Handle)rates_total || prev_calculated<=0) // проверка на первый старт расчёта индикатора + first=min_rates_1; // стартовый номер для расчёта всех баров + else first=prev_calculated-1; // стартовый номер для расчёта новых баров + +//---- Основной цикл расчёта индикатора + for(bar=first; bar Made with вќ¤пёЏ for the trading community. diff --git a/Directed_Movement_HTF - indicator for MetaTrader 5/expert.png b/Directed_Movement_HTF - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Directed_Movement_HTF - indicator for MetaTrader 5/expert.png differ diff --git a/Directed_Movement_HTF - indicator for MetaTrader 5/indicator.png b/Directed_Movement_HTF - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directed_Movement_HTF - indicator for MetaTrader 5/indicator.png differ diff --git a/Directed_Movement_HTF - indicator for MetaTrader 5/logo-2.png b/Directed_Movement_HTF - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directed_Movement_HTF - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directed_Movement_HTF - indicator for MetaTrader 5/picture__5.png b/Directed_Movement_HTF - indicator for MetaTrader 5/picture__5.png new file mode 100644 index 0000000..4a67487 Binary files /dev/null and b/Directed_Movement_HTF - indicator for MetaTrader 5/picture__5.png differ diff --git a/Directional Efficiency Ratio - indicator for MetaTrader 5/README.md b/Directional Efficiency Ratio - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..aa28187 --- /dev/null +++ b/Directional Efficiency Ratio - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `efficiency_ratio_directional.mq5` + +### Screenshots: +![Screenshot](cb-1__2.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Directional Efficiency Ratio - indicator for MetaTrader 5/cb-1__2.png b/Directional Efficiency Ratio - indicator for MetaTrader 5/cb-1__2.png new file mode 100644 index 0000000..dd0c2b5 Binary files /dev/null and b/Directional Efficiency Ratio - indicator for MetaTrader 5/cb-1__2.png differ diff --git a/Directional Efficiency Ratio - indicator for MetaTrader 5/efficiency_ratio_directional.mq5 b/Directional Efficiency Ratio - indicator for MetaTrader 5/efficiency_ratio_directional.mq5 new file mode 100644 index 0000000..157e244 Binary files /dev/null and b/Directional Efficiency Ratio - indicator for MetaTrader 5/efficiency_ratio_directional.mq5 differ diff --git a/Directional Efficiency Ratio - indicator for MetaTrader 5/indicator.png b/Directional Efficiency Ratio - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directional Efficiency Ratio - indicator for MetaTrader 5/indicator.png differ diff --git a/Directional Efficiency Ratio - indicator for MetaTrader 5/logo-2.png b/Directional Efficiency Ratio - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directional Efficiency Ratio - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directional RSI - indicator for MetaTrader 5/README.md b/Directional RSI - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f8a0c67 --- /dev/null +++ b/Directional RSI - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `drsi_2.mq5` + +### Screenshots: +![Screenshot](directional_RSI.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Directional RSI - indicator for MetaTrader 5/directional_RSI.png b/Directional RSI - indicator for MetaTrader 5/directional_RSI.png new file mode 100644 index 0000000..f070e26 Binary files /dev/null and b/Directional RSI - indicator for MetaTrader 5/directional_RSI.png differ diff --git a/Directional RSI - indicator for MetaTrader 5/drsi_2.mq5 b/Directional RSI - indicator for MetaTrader 5/drsi_2.mq5 new file mode 100644 index 0000000..b0c3471 --- /dev/null +++ b/Directional RSI - indicator for MetaTrader 5/drsi_2.mq5 @@ -0,0 +1,247 @@ +//------------------------------------------------------------------ +#property copyright "mladen" +#property link "www.forex-tsd.com" +//------------------------------------------------------------------ +#property indicator_separate_window +#property indicator_buffers 3 +#property indicator_plots 2 +#property indicator_type1 DRAW_LINE +#property indicator_color1 clrDarkGray +#property indicator_width1 2 +#property indicator_type2 DRAW_COLOR_ARROW +#property indicator_color2 clrPaleVioletRed,clrLimeGreen + +// +// +// +// +// + +input int DrsiPeriod = 14; // Dynamic rsi calculation period +input double Filter = 10; // Filter +input double SARStep = 0.02; // Parabolic SAR step +input double SARMaximum = 0.1; // Parabolic SAR maximum + +double drsi[]; +double sar[]; +double colors[]; + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// + +void OnInit() +{ + SetIndexBuffer(0,drsi); + SetIndexBuffer(1,sar); PlotIndexSetInteger(1,PLOT_ARROW,159); + SetIndexBuffer(2,colors,INDICATOR_COLOR_INDEX); + IndicatorSetString(INDICATOR_SHORTNAME,"Directional RSI 2 ("+(string)DrsiPeriod+","+(string)Filter+")"); +} + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// +// + +double workDrsi[][4]; +#define _dmp 0 +#define _dmm 1 +#define _thigh 2 +#define _tlow 3 + +int OnCalculate(const int rates_total,const int prev_calculated, + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tickVolume[], + const long &volume[], + const int &spread[]) +{ + if (ArrayRange(workDrsi,0)!=rates_total) ArrayResize(workDrsi,rates_total); + + // + // + // + // + // + + for (int i=(int)MathMax(prev_calculated-1,1); i0 && hm>lm) + workDrsi[i][_dmp] = hm; + else workDrsi[i][_dmp] = 0; + if (lm>0 && lm>hm) + workDrsi[i][_dmm] = lm; + else workDrsi[i][_dmm] = 0; + + // + // + // + // + // + + double dmp = 0; + double dmm = 0; + for (int k=0; k=0; k++) { dmp += workDrsi[i-k][_dmp]; dmm += workDrsi[i-k][_dmm]; } + if (dmm!=0) + drsi[i] = 100-(100/(1.0+dmp/dmm)); + else drsi[i] = drsi[i-1]; + double sarOpen; + double sarPosition; + double sarChange; + sar[i] = iParabolic(drsi[i],drsi[i],SARStep,SARMaximum,sarOpen,sarPosition,sarChange,i,rates_total); + if (sarPosition==1) + colors[i] = 1; + else colors[i] = 0; + } + return(rates_total); +} + + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// + +double workEma[][2]; +double iEma(double price, double period, int totalBars, int r, int instanceNo=0) +{ + if (ArrayRange(workEma,0)!= totalBars) ArrayResize(workEma,totalBars); + + // + // + // + // + // + + double alpha = 2.0 / (1.0+period); + workEma[r][instanceNo] = workEma[r-1][instanceNo]+alpha*(price-workEma[r-1][instanceNo]); + return(workEma[r][instanceNo]); +} + +//------------------------------------------------------------------ +// +//------------------------------------------------------------------ +// +// +// +// +// + +double workSar[][7]; +#define _high 0 +#define _low 1 +#define _ohigh 2 +#define _olow 3 +#define _open 4 +#define _position 5 +#define _af 6 + + +double iParabolic(double high, double low, double step, double limit, double& pOpen, double& pPosition, double& pChange, int i, int total) +{ + if (ArrayRange(workSar,0)!=total) ArrayResize(workSar,total); + + // + // + // + // + // + + if (highworkSar[i-1][_high] && workSar[i][_af]workSar[i ][_olow]) workSar[i][_open] = workSar[i ][_olow]; + if (workSar[i][_open]>workSar[i-1][_olow]) workSar[i][_open] = workSar[i-1][_olow]; + } + else + if (high>=workSar[i][_open]) + { + workSar[i][_position] = 1; + pChange = 1; + pClose = workSar[i][_low]; + workSar[i][_low] = low; + workSar[i][_high] = high; + workSar[i][_af] = step; + workSar[i][_open] = pClose + workSar[i][_af]*(workSar[i][_high]-pClose); + if (workSar[i][_open]>workSar[i ][_olow]) workSar[i][_open] = workSar[i ][_olow]; + if (workSar[i][_open]>workSar[i-1][_olow]) workSar[i][_open] = workSar[i-1][_olow]; + } + else + { + pClose = workSar[i][_open]; + if (workSar[i][_low] Made with вќ¤пёЏ for the trading community. diff --git a/Directional smoothed momentum - indicator for MetaTrader 5/cb__30.png b/Directional smoothed momentum - indicator for MetaTrader 5/cb__30.png new file mode 100644 index 0000000..0fc80ac Binary files /dev/null and b/Directional smoothed momentum - indicator for MetaTrader 5/cb__30.png differ diff --git a/Directional smoothed momentum - indicator for MetaTrader 5/cb__32.png b/Directional smoothed momentum - indicator for MetaTrader 5/cb__32.png new file mode 100644 index 0000000..2b6de72 Binary files /dev/null and b/Directional smoothed momentum - indicator for MetaTrader 5/cb__32.png differ diff --git a/Directional smoothed momentum - indicator for MetaTrader 5/directional_momentum_of_average.mq5 b/Directional smoothed momentum - indicator for MetaTrader 5/directional_momentum_of_average.mq5 new file mode 100644 index 0000000..fc63de0 Binary files /dev/null and b/Directional smoothed momentum - indicator for MetaTrader 5/directional_momentum_of_average.mq5 differ diff --git a/Directional smoothed momentum - indicator for MetaTrader 5/indicator.png b/Directional smoothed momentum - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directional smoothed momentum - indicator for MetaTrader 5/indicator.png differ diff --git a/Directional smoothed momentum - indicator for MetaTrader 5/logo-2.png b/Directional smoothed momentum - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directional smoothed momentum - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/README.md b/Directional volatility & volume oscillator - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..c07abb4 --- /dev/null +++ b/Directional volatility & volume oscillator - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `directional_volatility_l_volume_0.mq5` + +### Screenshots: +![Screenshot](Untitled__2.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/Untitled__2.png b/Directional volatility & volume oscillator - indicator for MetaTrader 5/Untitled__2.png new file mode 100644 index 0000000..29f236d Binary files /dev/null and b/Directional volatility & volume oscillator - indicator for MetaTrader 5/Untitled__2.png differ diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/directional_volatility_l_volume_0.mq5 b/Directional volatility & volume oscillator - indicator for MetaTrader 5/directional_volatility_l_volume_0.mq5 new file mode 100644 index 0000000..2d636c6 --- /dev/null +++ b/Directional volatility & volume oscillator - indicator for MetaTrader 5/directional_volatility_l_volume_0.mq5 @@ -0,0 +1,151 @@ +//+------------------------------------------------------------------+ +//| Directional volatility & volume_0.mq5 | +//| Copyright 2021, PuguForex | +//| https://www.mql5.com/en/users/puguforex | +//+------------------------------------------------------------------+ +#property copyright "Copyright 2021, PuguForex" +#property link "https://www.mql5.com/en/users/puguforex" +#property version "1.00" +#property indicator_separate_window +#property indicator_buffers 15 +#property indicator_plots 5 + +#property indicator_label1 "Volatility" +#property indicator_type1 DRAW_COLOR_HISTOGRAM +#property indicator_color1 clrNavy,clrCrimson +#property indicator_style1 STYLE_SOLID +#property indicator_width1 2 + +#property indicator_label2 "Volatility slope" +#property indicator_type2 DRAW_COLOR_LINE +#property indicator_color2 clrLimeGreen,clrDeepPink +#property indicator_style2 STYLE_SOLID +#property indicator_width2 2 + +#property indicator_label3 "Volume" +#property indicator_type3 DRAW_COLOR_HISTOGRAM2 +#property indicator_color3 clrAqua,clrYellow +#property indicator_style3 STYLE_SOLID +#property indicator_width3 2 + +#property indicator_label4 "Zone up" +#property indicator_type4 DRAW_LINE +#property indicator_color4 clrSilver +#property indicator_style4 STYLE_SOLID +#property indicator_width4 2 + +#property indicator_label5 "Zone down" +#property indicator_type5 DRAW_LINE +#property indicator_color5 clrSilver +#property indicator_style5 STYLE_SOLID +#property indicator_width5 2 + +input int inpVolatilityPeriod = 5; //Volatility period +input ENUM_MA_METHOD inpVolatilityMethod = MODE_SMA; //Volatility method +input int inpVolumePeriod = 14; //Volume period +input ENUM_MA_METHOD inpVolumeMethod = MODE_SMA; //Volume method +input int inpZonePeriod = 14; //Zone period +input ENUM_MA_METHOD inpZoneMethod = MODE_SMA; //Zone method + +double vola[],volacl[],vlsl[],vlslcl[],volu[],vold[],volucl[],znup[],zndn[],zl[],cl[],hi[],lo[],vl[],vlsm[]; +int mdHandle,clHandle,hiHandle,loHandle; + +#include +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//--- indicator buffers mapping + SetIndexBuffer(0,vola ,INDICATOR_DATA); + SetIndexBuffer(1,volacl ,INDICATOR_COLOR_INDEX); + SetIndexBuffer(2,vlsl ,INDICATOR_DATA); + SetIndexBuffer(3,vlslcl ,INDICATOR_COLOR_INDEX); + SetIndexBuffer(4,volu ,INDICATOR_DATA); + SetIndexBuffer(5,vold ,INDICATOR_DATA); + SetIndexBuffer(6,volucl ,INDICATOR_COLOR_INDEX); + SetIndexBuffer(7,znup ,INDICATOR_DATA); + SetIndexBuffer(8,zndn ,INDICATOR_DATA); + SetIndexBuffer(9,zl ,INDICATOR_CALCULATIONS); + SetIndexBuffer(10,cl ,INDICATOR_CALCULATIONS); + SetIndexBuffer(11,hi ,INDICATOR_CALCULATIONS); + SetIndexBuffer(12,lo ,INDICATOR_CALCULATIONS); + SetIndexBuffer(13,vl ,INDICATOR_CALCULATIONS); + SetIndexBuffer(14,vlsm ,INDICATOR_CALCULATIONS); +//--- + + mdHandle = iMA(_Symbol,_Period,inpZonePeriod,0,inpZoneMethod,PRICE_MEDIAN); + clHandle = iMA(_Symbol,_Period,inpVolatilityPeriod,0,inpVolatilityMethod,PRICE_CLOSE); + hiHandle = iMA(_Symbol,_Period,inpZonePeriod,0,inpZoneMethod,PRICE_HIGH); + loHandle = iMA(_Symbol,_Period,inpZonePeriod,0,inpZoneMethod,PRICE_LOW); + + if(mdHandle==INVALID_HANDLE || clHandle==INVALID_HANDLE || hiHandle==INVALID_HANDLE || loHandle==INVALID_HANDLE) + { + Print("Failed to create all handles, Try again"); + return(INIT_FAILED); + } + return(INIT_SUCCEEDED); + } + +void OnDeinit(const int reason) + { + if(mdHandle!=INVALID_HANDLE) IndicatorRelease(mdHandle); + if(clHandle!=INVALID_HANDLE) IndicatorRelease(clHandle); + if(hiHandle!=INVALID_HANDLE) IndicatorRelease(hiHandle); + if(loHandle!=INVALID_HANDLE) IndicatorRelease(loHandle); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, + const int prev_calculated, + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) + { + int tocopy = (prev_calculated) ? rates_total-prev_calculated+1 : rates_total; + if(CopyBuffer(mdHandle,MAIN_LINE,0,tocopy,zl)!=tocopy || + CopyBuffer(clHandle,MAIN_LINE,0,tocopy,cl)!=tocopy || + CopyBuffer(hiHandle,MAIN_LINE,0,tocopy,hi)!=tocopy || + CopyBuffer(loHandle,MAIN_LINE,0,tocopy,lo)!=tocopy ) + { + return(prev_calculated); + } + + int limit = (prev_calculated>0) ? prev_calculated-1 : 0; +//--- + for(int i=limit; i0 ? 0 : vola[i]<0 ? 1 : (i>0) ? volacl[i-1] : 0; + + vlsl[i] = vola[i]; + vlslcl[i] = (i>0) ? vlsl[i]>vlsl[i-1] ? 0 : vlsl[i]open[i]) ? (double)tick_volume[i] : (close[i]0)?vlsm[i-1]:vl[i],vl); break; + case MODE_SMMA: vlsm[i] = SmoothedMA(i,inpVolumePeriod,(i>0)?vlsm[i-1]:vl[i],vl); break; + case MODE_LWMA: vlsm[i] = LinearWeightedMA(i,inpVolumePeriod,vl); break; + default: vlsm[i] = vl[i]; break; + } + + volucl[i] = vlsm[i]>0 ? 0 : vlsm[i]<0 ? 1 : (i>0) ? volucl[i-1] : 0; + } +//--- return value of prev_calculated for next call + return(rates_total); + } +//+------------------------------------------------------------------+ diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/expert.png b/Directional volatility & volume oscillator - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Directional volatility & volume oscillator - indicator for MetaTrader 5/expert.png differ diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/indicator.png b/Directional volatility & volume oscillator - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directional volatility & volume oscillator - indicator for MetaTrader 5/indicator.png differ diff --git a/Directional volatility & volume oscillator - indicator for MetaTrader 5/logo-2.png b/Directional volatility & volume oscillator - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directional volatility & volume oscillator - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directional_Breakout - indicator for MetaTrader 5/Directional_Breakout.png b/Directional_Breakout - indicator for MetaTrader 5/Directional_Breakout.png new file mode 100644 index 0000000..f858601 Binary files /dev/null and b/Directional_Breakout - indicator for MetaTrader 5/Directional_Breakout.png differ diff --git a/Directional_Breakout - indicator for MetaTrader 5/README.md b/Directional_Breakout - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..c33bbc8 --- /dev/null +++ b/Directional_Breakout - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `directional_breakout.mq5` + +### Screenshots: +![Screenshot](Directional_Breakout.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Directional_Breakout - indicator for MetaTrader 5/directional_breakout.mq5 b/Directional_Breakout - indicator for MetaTrader 5/directional_breakout.mq5 new file mode 100644 index 0000000..7f58d41 Binary files /dev/null and b/Directional_Breakout - indicator for MetaTrader 5/directional_breakout.mq5 differ diff --git a/Directional_Breakout - indicator for MetaTrader 5/expert.png b/Directional_Breakout - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Directional_Breakout - indicator for MetaTrader 5/expert.png differ diff --git a/Directional_Breakout - indicator for MetaTrader 5/indicator.png b/Directional_Breakout - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directional_Breakout - indicator for MetaTrader 5/indicator.png differ diff --git a/Directional_Breakout - indicator for MetaTrader 5/logo-2.png b/Directional_Breakout - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directional_Breakout - indicator for MetaTrader 5/logo-2.png differ diff --git a/Directional_Volatility - indicator for MetaTrader 5/Directional_Volatility.png b/Directional_Volatility - indicator for MetaTrader 5/Directional_Volatility.png new file mode 100644 index 0000000..cc20cd6 Binary files /dev/null and b/Directional_Volatility - indicator for MetaTrader 5/Directional_Volatility.png differ diff --git a/Directional_Volatility - indicator for MetaTrader 5/README.md b/Directional_Volatility - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..98b9402 --- /dev/null +++ b/Directional_Volatility - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `directional_volatility.mq5` + +### Screenshots: +![Screenshot](Directional_Volatility.png) +![Screenshot](library.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Directional_Volatility - indicator for MetaTrader 5/directional_volatility.mq5 b/Directional_Volatility - indicator for MetaTrader 5/directional_volatility.mq5 new file mode 100644 index 0000000..40c604e Binary files /dev/null and b/Directional_Volatility - indicator for MetaTrader 5/directional_volatility.mq5 differ diff --git a/Directional_Volatility - indicator for MetaTrader 5/indicator.png b/Directional_Volatility - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Directional_Volatility - indicator for MetaTrader 5/indicator.png differ diff --git a/Directional_Volatility - indicator for MetaTrader 5/library.png b/Directional_Volatility - indicator for MetaTrader 5/library.png new file mode 100644 index 0000000..5c79a8f Binary files /dev/null and b/Directional_Volatility - indicator for MetaTrader 5/library.png differ diff --git a/Directional_Volatility - indicator for MetaTrader 5/logo-2.png b/Directional_Volatility - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Directional_Volatility - indicator for MetaTrader 5/logo-2.png differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/README.md b/Divergence Awesome Ocilator - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..a49cbf2 --- /dev/null +++ b/Divergence Awesome Ocilator - indicator for MetaTrader 5/README.md @@ -0,0 +1,23 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `divergence_awesome_ocilator.mq5` + +### Screenshots: +![Screenshot](divergence-awesome-ociltator-buying__1.jpg) +![Screenshot](divergence-awesome-ociltator__1.jpg) +![Screenshot](script.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator-buying__1.jpg b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator-buying__1.jpg new file mode 100644 index 0000000..af85572 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator-buying__1.jpg differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator__1.jpg b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator__1.jpg new file mode 100644 index 0000000..1728fd0 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence-awesome-ociltator__1.jpg differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence_awesome_ocilator.mq5 b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence_awesome_ocilator.mq5 new file mode 100644 index 0000000..107dba0 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/divergence_awesome_ocilator.mq5 differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/expert.png b/Divergence Awesome Ocilator - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/expert.png differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/indicator.png b/Divergence Awesome Ocilator - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/indicator.png differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/logo-2.png b/Divergence Awesome Ocilator - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/logo-2.png differ diff --git a/Divergence Awesome Ocilator - indicator for MetaTrader 5/script.png b/Divergence Awesome Ocilator - indicator for MetaTrader 5/script.png new file mode 100644 index 0000000..d32d874 Binary files /dev/null and b/Divergence Awesome Ocilator - indicator for MetaTrader 5/script.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/1519136548379__1.png b/Divergence DeMarker - indicator for MetaTrader 5/1519136548379__1.png new file mode 100644 index 0000000..4076470 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/1519136548379__1.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/4700979155725__1.png b/Divergence DeMarker - indicator for MetaTrader 5/4700979155725__1.png new file mode 100644 index 0000000..cdc78b9 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/4700979155725__1.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/5973984528570__1.png b/Divergence DeMarker - indicator for MetaTrader 5/5973984528570__1.png new file mode 100644 index 0000000..2876b61 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/5973984528570__1.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/README.md b/Divergence DeMarker - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..76fbbd3 --- /dev/null +++ b/Divergence DeMarker - indicator for MetaTrader 5/README.md @@ -0,0 +1,23 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `divergence_demarker.mq5` + +### Screenshots: +![Screenshot](1519136548379__1.png) +![Screenshot](4700979155725__1.png) +![Screenshot](5973984528570__1.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Divergence DeMarker - indicator for MetaTrader 5/divergence_demarker.mq5 b/Divergence DeMarker - indicator for MetaTrader 5/divergence_demarker.mq5 new file mode 100644 index 0000000..fc97b66 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/divergence_demarker.mq5 differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/expert.png b/Divergence DeMarker - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/expert.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/indicator.png b/Divergence DeMarker - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/indicator.png differ diff --git a/Divergence DeMarker - indicator for MetaTrader 5/logo-2.png b/Divergence DeMarker - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Divergence DeMarker - indicator for MetaTrader 5/logo-2.png differ diff --git a/DivergenceBar - indicator for MetaTrader 5/README.md b/DivergenceBar - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..f5f5c11 --- /dev/null +++ b/DivergenceBar - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `divergencebar.mq5` + +### Screenshots: +![Screenshot](picture__17.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/DivergenceBar - indicator for MetaTrader 5/divergencebar.mq5 b/DivergenceBar - indicator for MetaTrader 5/divergencebar.mq5 new file mode 100644 index 0000000..368709c --- /dev/null +++ b/DivergenceBar - indicator for MetaTrader 5/divergencebar.mq5 @@ -0,0 +1,149 @@ +//+------------------------------------------------------------------+ +//| DivergenceBar.mq5 | +//| Copyright © 2010, Dmitry Zhebrak aka Necron | +//| www.mqlcoder.ru | +//+------------------------------------------------------------------+ +//--- авторство индикатора +#property copyright "Copyright © 2010, Dmitry Zhebrak aka Necron" +//--- ссылка на сайт автора +#property link "www.mqlcoder.ru" +//--- номер версии индикатора +#property version "1.00" +//--- отрисовка индикатора в главном окне +#property indicator_chart_window +//--- для расчета и отрисовки индикатора использовано три буфера +#property indicator_buffers 3 +//--- использовано всего одно графическое построение +#property indicator_plots 2 +//+----------------------------------------------+ +//| Параметры отрисовки индикатора | +//+----------------------------------------------+ +//---- отрисовка индикатора в виде многоцветной гистограммы +#property indicator_type1 DRAW_COLOR_HISTOGRAM2 +//---- в качестве цветов трёхцветной линии использованы +#property indicator_color1 clrLime,clrRed +//---- линия индикатора - непрерывная кривая +#property indicator_style1 STYLE_SOLID +//---- толщина линии индикатора равна 2 +#property indicator_width1 2 +//---- отображение метки индикатора +#property indicator_label1 "DivergenceBar" +//+----------------------------------------------+ +//| объявление констант | +//+----------------------------------------------+ +#define RESET 0 // Константа для возврата терминалу команды на пересчёт индикатора +//+----------------------------------------------+ +//| Входные параметры индикатора | +//+----------------------------------------------+ +input ENUM_MA_METHOD SmoothMethod=MODE_SMMA; //метод усреднения цены +input ENUM_APPLIED_PRICE IPC=PRICE_MEDIAN; //ценовая константа +//+----------------------------------------------+ +//--- объявление динамических массивов, которые в дальнейшем +//--- будут использованы в качестве индикаторных буферов +double DnBuffer[],UpBuffer[],ColorBuffer[]; +//--- +int Ind_Handle,min_rates_total; +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() + { +//--- инициализация глобальных переменных + min_rates_total=int(MathMax(13+8,MathMax(8+5,5+3)))+1; +//--- получение хендла индикатора iAlligator + Ind_Handle=iAlligator(Symbol(),Period(),13,8,8,5,5,3,SmoothMethod,IPC); + if(Ind_Handle==INVALID_HANDLE) + { + Print(" Не удалось получить хендл индикатора iAlligator"); + return(INIT_FAILED); + } + +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(0,DnBuffer,INDICATOR_DATA); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(DnBuffer,true); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(1,UpBuffer,INDICATOR_DATA); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(UpBuffer,true); +//--- превращение динамического массива в индикаторный буфер + SetIndexBuffer(2,ColorBuffer,INDICATOR_DATA); +//--- индексация элементов в буфере как в таймсерии + ArraySetAsSeries(ColorBuffer,true); + +//--- осуществление сдвига начала отсчета отрисовки индикатора 1 + PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,min_rates_total); +//--- Установка формата точности отображения индикатора + IndicatorSetInteger(INDICATOR_DIGITS,_Digits); +//--- имя для окон данных и метка для подокон + string short_name="DivergenceBar"; + IndicatorSetString(INDICATOR_SHORTNAME,short_name); +//--- + return(INIT_SUCCEEDED); + } +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, + const int prev_calculated, + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) + { +//--- проверка количества баров на достаточность для расчета + if(BarsCalculated(Ind_Handle)rates_total || prev_calculated<=0)// проверка на первый старт расчета индикатора + { + limit=rates_total-min_rates_total; // стартовый номер для расчета всех баров + } + else + { + limit=rates_total-prev_calculated; // стартовый номер для расчета новых баров + } + to_copy=limit+1; +//--- копируем вновь появившиеся данные в массивы + if(CopyBuffer(Ind_Handle,GATORLIPS_LINE,0,to_copy,Ind1)<=0) return(RESET); + if(CopyBuffer(Ind_Handle,GATORTEETH_LINE,0,to_copy,Ind2)<=0) return(RESET); + if(CopyBuffer(Ind_Handle,GATORJAW_LINE,0,to_copy,Ind3)<=0) return(RESET); +//--- индексация элементов в массивах как в таймсериях + ArraySetAsSeries(Ind1,true); + ArraySetAsSeries(Ind2,true); + ArraySetAsSeries(Ind3,true); + ArraySetAsSeries(high,true); + ArraySetAsSeries(low,true); + ArraySetAsSeries(close,true); + +//--- основной цикл расчета индикатора + for(bar=limit; bar>=0 && !IsStopped(); bar--) + { + lips=Ind1[bar]; + teeth=Ind2[bar]; + jaw=Ind3[bar]; + //--- + up=MathMax(lips,MathMax(teeth,jaw)); + dn=MathMin(lips,MathMin(teeth,jaw)); + //--- + UpBuffer[bar]=low[bar]+(high[bar]-low[bar])/2+(high[bar]-low[bar])/10; + DnBuffer[bar]=low[bar]+(high[bar]-low[bar])/2-(high[bar]-low[bar])/10; + //--- + if(high[bar]>high[bar+1] && close[bar]up) clr=0; + else if(low[bar]low[bar]+0.5*(high[bar]-low[bar]) && high[bar] Made with вќ¤пёЏ for the trading community. diff --git a/Divergence_Candles - indicator for MetaTrader 5/divergence_candles.mq5 b/Divergence_Candles - indicator for MetaTrader 5/divergence_candles.mq5 new file mode 100644 index 0000000..d53155e Binary files /dev/null and b/Divergence_Candles - indicator for MetaTrader 5/divergence_candles.mq5 differ diff --git a/Divergence_Candles - indicator for MetaTrader 5/indicator.png b/Divergence_Candles - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Divergence_Candles - indicator for MetaTrader 5/indicator.png differ diff --git a/Divergence_Candles - indicator for MetaTrader 5/logo-2.png b/Divergence_Candles - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Divergence_Candles - indicator for MetaTrader 5/logo-2.png differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/README.md b/Doji_Arrows - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..ef23a5e --- /dev/null +++ b/Doji_Arrows - indicator for MetaTrader 5/README.md @@ -0,0 +1,22 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `doji_arrows.mq5` + +### Screenshots: +![Screenshot](picture_1.png) +![Screenshot](picture_2.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Doji_Arrows - indicator for MetaTrader 5/doji_arrows.mq5 b/Doji_Arrows - indicator for MetaTrader 5/doji_arrows.mq5 new file mode 100644 index 0000000..23f71a0 Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/doji_arrows.mq5 differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/expert.png b/Doji_Arrows - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/expert.png differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/indicator.png b/Doji_Arrows - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/indicator.png differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/logo-2.png b/Doji_Arrows - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/logo-2.png differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/picture_1.png b/Doji_Arrows - indicator for MetaTrader 5/picture_1.png new file mode 100644 index 0000000..8fcc3fe Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/picture_1.png differ diff --git a/Doji_Arrows - indicator for MetaTrader 5/picture_2.png b/Doji_Arrows - indicator for MetaTrader 5/picture_2.png new file mode 100644 index 0000000..1acf3eb Binary files /dev/null and b/Doji_Arrows - indicator for MetaTrader 5/picture_2.png differ diff --git a/Dollar Index - indicator for MetaTrader 5/README.md b/Dollar Index - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..e7793ad --- /dev/null +++ b/Dollar Index - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dollar_index.mq5` + +### Screenshots: +![Screenshot](cb__27.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Dollar Index - indicator for MetaTrader 5/cb__27.png b/Dollar Index - indicator for MetaTrader 5/cb__27.png new file mode 100644 index 0000000..9474d08 Binary files /dev/null and b/Dollar Index - indicator for MetaTrader 5/cb__27.png differ diff --git a/Dollar Index - indicator for MetaTrader 5/dollar_index.mq5 b/Dollar Index - indicator for MetaTrader 5/dollar_index.mq5 new file mode 100644 index 0000000..9b6ba03 Binary files /dev/null and b/Dollar Index - indicator for MetaTrader 5/dollar_index.mq5 differ diff --git a/Dollar Index - indicator for MetaTrader 5/indicator.png b/Dollar Index - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Dollar Index - indicator for MetaTrader 5/indicator.png differ diff --git a/Dollar Index - indicator for MetaTrader 5/logo-2.png b/Dollar Index - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Dollar Index - indicator for MetaTrader 5/logo-2.png differ diff --git a/Dollar Index Candles - indicator for MetaTrader 5/README.md b/Dollar Index Candles - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..0139cf5 --- /dev/null +++ b/Dollar Index Candles - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dollar_index_candles.mq5` + +### Screenshots: +![Screenshot](cb__26.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Dollar Index Candles - indicator for MetaTrader 5/cb__26.png b/Dollar Index Candles - indicator for MetaTrader 5/cb__26.png new file mode 100644 index 0000000..c97240e Binary files /dev/null and b/Dollar Index Candles - indicator for MetaTrader 5/cb__26.png differ diff --git a/Dollar Index Candles - indicator for MetaTrader 5/dollar_index_candles.mq5 b/Dollar Index Candles - indicator for MetaTrader 5/dollar_index_candles.mq5 new file mode 100644 index 0000000..bbdcae1 Binary files /dev/null and b/Dollar Index Candles - indicator for MetaTrader 5/dollar_index_candles.mq5 differ diff --git a/Dollar Index Candles - indicator for MetaTrader 5/indicator.png b/Dollar Index Candles - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Dollar Index Candles - indicator for MetaTrader 5/indicator.png differ diff --git a/Dollar Index Candles - indicator for MetaTrader 5/logo-2.png b/Dollar Index Candles - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Dollar Index Candles - indicator for MetaTrader 5/logo-2.png differ diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/README.md b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..913bb28 --- /dev/null +++ b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/README.md @@ -0,0 +1,21 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dolly_graphics_v11-gmtshift.mq5` + +### Screenshots: +![Screenshot](picture__17.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/dolly_graphics_v11-gmtshift.mq5 b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/dolly_graphics_v11-gmtshift.mq5 new file mode 100644 index 0000000..41a0326 Binary files /dev/null and b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/dolly_graphics_v11-gmtshift.mq5 differ diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/expert.png b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/expert.png new file mode 100644 index 0000000..9a2e616 Binary files /dev/null and b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/expert.png differ diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/indicator.png b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/indicator.png new file mode 100644 index 0000000..7a885d8 Binary files /dev/null and b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/indicator.png differ diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/logo-2.png b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/logo-2.png new file mode 100644 index 0000000..28ea55c Binary files /dev/null and b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/logo-2.png differ diff --git a/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/picture__17.png b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/picture__17.png new file mode 100644 index 0000000..5dba6ca Binary files /dev/null and b/Dolly_Graphics_v11-GMTShift - indicator for MetaTrader 5/picture__17.png differ diff --git a/Dominant Candle - indicator for MetaTrader 5/3787472903161.png b/Dominant Candle - indicator for MetaTrader 5/3787472903161.png new file mode 100644 index 0000000..1879521 Binary files /dev/null and b/Dominant Candle - indicator for MetaTrader 5/3787472903161.png differ diff --git a/Dominant Candle - indicator for MetaTrader 5/5656879240142.png b/Dominant Candle - indicator for MetaTrader 5/5656879240142.png new file mode 100644 index 0000000..80f1785 Binary files /dev/null and b/Dominant Candle - indicator for MetaTrader 5/5656879240142.png differ diff --git a/Dominant Candle - indicator for MetaTrader 5/README.md b/Dominant Candle - indicator for MetaTrader 5/README.md new file mode 100644 index 0000000..7304ef5 --- /dev/null +++ b/Dominant Candle - indicator for MetaTrader 5/README.md @@ -0,0 +1,23 @@ +# рџљЂ Unlock the Power of Trading! + +Welcome to this open-source trading project. Here you will find powerful tools to enhance your trading journey. If you find this project useful, please consider starring в­ђ, sharing, or donating to support further development! + +--- + +**Support the project:** +- Star this repository on GitHub +- Share it with your trading friends +- [Donate here](https://www.paypal.com/donate/?hosted_button_id=YOUR_BUTTON_ID) to help us grow! + +--- + +## Files included: +### Source Files: +- `dominant.mq5` + +### Screenshots: +![Screenshot](3787472903161.png) +![Screenshot](5656879240142.png) +![Screenshot](script.png) + +> Made with вќ¤пёЏ for the trading community. diff --git a/Dominant Candle - indicator for MetaTrader 5/dominant.mq5 b/Dominant Candle - indicator for MetaTrader 5/dominant.mq5 new file mode 100644 index 0000000..590ab44 --- /dev/null +++ b/Dominant Candle - indicator for MetaTrader 5/dominant.mq5 @@ -0,0 +1,99 @@ +//+------------------------------------------------------------------+ +//| Dominant.mq5 | +//| Copyright 2024, Rajesh Kumar Nait | +//| https://www.mql5.com/en/users/rajeshnait/seller | +//+------------------------------------------------------------------+ +#property copyright "Copyright 2024, Rajesh Kumar Nait" +#property link "https://www.mql5.com/en/users/rajeshnait/seller" +#property version "1.00" +#property indicator_chart_window +#property indicator_plots 0 +string prefix="c_"; +input int total = 1000; // Number of Bars +input color clr = clrSnow; // Adjust color as required +//+------------------------------------------------------------------+ +//| Custom indicator initialization function | +//+------------------------------------------------------------------+ +int OnInit() { +//--- indicator buffers mapping + +//--- + return(INIT_SUCCEEDED); +} + +//+------------------------------------------------------------------+ +//| | +//+------------------------------------------------------------------+ +void OnDeinit(const int reason) { + ObjectsDeleteAll(0,prefix); +} +//+------------------------------------------------------------------+ +//| Custom indicator iteration function | +//+------------------------------------------------------------------+ +int OnCalculate(const int rates_total, + const int prev_calculated, + const datetime &time[], + const double &open[], + const double &high[], + const double &low[], + const double &close[], + const long &tick_volume[], + const long &volume[], + const int &spread[]) { +//--- + ArraySetAsSeries(open,true); + ArraySetAsSeries(high,true); + ArraySetAsSeries(low,true); + ArraySetAsSeries(close,true); + ArraySetAsSeries(time,true); + + if(rates_total=close[i+1] && low[i]open[i]) + crearFlecha(prefix+"Bull_Dominanat"+IntegerToString(i),time[i],low[i+1],clr,225,ANCHOR_TOP); + + if(open[i]>close[i] && open[i+1]>close[i+1] && open[i]<=close[i+1] && high[i]>close[i+1] && low[i+1]