Indicators: Correlate

To add comments, please log in or register
Automated-Trading
148243
Automated-Trading  

Correlate:

The indicator shows correlation between currencies.

Author: pipPod 

Currency Correlation II
Currency Correlation II
  • www.mql5.com
Statistical Functions Set of statistical functions which allows you to calculate some values describing timeseries. BinaryWaveSign Semaphore signal indicator triggering when the BinaryWave indicator changes direction. StocksBG StocksBG indicator displays the activity of major...
Peejay Lal
193
Peejay Lal  

You are a genious coder.

 Similar to this curve can you please code an manual indicator which can print on the chart as well as create a curve like price, averaged prices, breakeven point, stop loss, all input by a user.

The idea is to get  a table for breakeven points either printed on the chart or as trend lines in sub-window

(a) position/lots averaging to reduce breakeven and cut loss

(b) position/lots pyramiding to increase gains

I have found the following code which works in real-time. 

extern bool ShowMarketPrice = true;

extern color   ColorMarketPrice     = OrangeRed; 

extern bool    ShowAvgEntryPrice    = true;
extern color   ColorAvgBuyEntry     = LimeGreen;
extern color   ColorAvgSellEntry    = Orange;

extern bool    ShowStopLoss         = true;
extern double  RiskFactor           = 5;           // Risk Factor(in %) for StopLoss calculation  
extern color   ColorBuyStopLoss     = DeepSkyBlue;
extern color   ColorSellStopLoss    = LightCoral;

extern color   SwapColorLong        = Lime;
extern color   SwapColorShort       = Red;

extern bool    ShowProfit           = true;
extern string  FontName             = "Arial Black";
extern int     FontSize             = 10;
extern color   ColorProfit          = DarkSalmon;
          
extern bool    ShowLineLabels       = true; 

extern bool ShowSwapInfo = true; 

Peejay Lal
193
Peejay Lal  

An excellent article on vertical grids in trending markets. 

<Deleted>

They are a play on dollar cost averaging as they aim to achieve an average entry price over a certain time interval. Thereby the trader has a higher chance of being able to profit from a rising (falling trend) which in the short term may be highly volatile. 

jaffer wilson
1395
jaffer wilson  

This indicator has issues. I am not able to get the backward values for it. I try to gather data for my analysis, but I got zeroes in the buffer output. Even the graph is not completed. Please check the following image: 


captured iiage

CyberAbel Gonzalez
40
CyberAbel Gonzalez  
It does not show up in MT5. 
To add comments, please log in or register