Otavio Barreto / Publications
Forum
EA Move sl to 10 pips profit
I am trying to implement a function in a EA, after price moves 100 pips in your favor, Move SL to 10 pips after Entry poinT, so stop loss can stay in profit and also use tralling stop to stay in profit. Somebody have an idea of how to implement it
Ichimoku with displacement settings
Hi somebody knows where can I find the ichimoku with displacement settings for mt4? the default version has only 3 inputs it's missing the displacement setting, thanks in advance
Make Gann zigzag indicator plot SR lines
Somebody has an ideia how to plot SR LINES when this zigzag based on gann angle changes? #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 DeepSkyBlue #property indicator_color2 Black //---- input parameters extern int GSv_range= 12 ; //---- buffers double
Modify center of gravity to show the reverse center
#property indicator_chart_window #property indicator_buffers 5 //#property indicator_color1 White #property indicator_color1 Black //#property indicator_color2 RoyalBlue #property indicator_color2 White #property indicator_color3 White #property indicator_color4 Goldenrod #property
Make macd code detect divergence
Can somebody help me to make this Macd detect divergence between oscilator and price, and draw arrows on detection? #include <MovingAverages.mqh> #property indicator_separate_window #property indicator_buffers 4 input int InpFastEMA = 12 ; input int InpSlowEMA = 26 ; input int InpSignalSMA = 9 ;
MQL4 Convert indicator to EA for backtest
I need to backtest The COG Indicator but in mt4 it's only possible to test EA not indicators, can somebody help me to convert this to a EA it's for backtest only. #property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 RoyalBlue #property indicator_color2 LimeGreen
Increase width of COG line
#property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 RoyalBlue #property indicator_color2 LimeGreen #property indicator_color3 LimeGreen #property indicator_color4 Goldenrod #property indicator_color5 Goldenrod //----------------------------------- extern int
Make Zup indicator scan multiple pairs
Somebody knows how to make zup harmonic indicator scan multiple pairs and timeframes
Transparent color codes for indicator inputs
Hi guys how to put other tranparent color in mt4 indicator i need this because I have an indicator that overlays another I only know this transparent color codes transparent blue: 0,0,48 and transparent red: 48,0,0 , I would like other transparent color codes like transparent aqua and transparent
Indicator overlap background and others indicator colors
Hi guys I am using this indicator (https://www.mql5.com/code/14393) with conjuntion with anothers indicators the problem is that it overlap the background and others indicator colors how to fix it? if (ShowPattern) { ObjectDelete (Tools[ 5 ]); ObjectCreate (Tools[ 5 ], OBJ_TRIANGLE