Code Trend Period and BollingerBandMACD

MQL5 Göstergeler

İş Gereklilikleri

I have a couple indicators from ThinkorSwim(script) i'd love someone to code for MT4.


Trendperiod:


TrendPeriod:

This one again is just a typical EMA offered by TOS but just offers a different visual way of seeing things. When short term is above longer ema it draws line at the (1) mark. If vice versa it draws line below at (-1). If you can could you make it so when above its green and when below its red vs how i currently have it its all just one color?



declare lower;

input fastLength = 7;
input slowLength = 15;

plot Periods = sign(ExpAverage(close, fastLength) - ExpAverage(close, slowLength));

Periods.SetDefaultColor(GetColor(1));



MACDBollingerBand:

Here we have a MACD plotted onto its own Bollinger Bands


declare lower;

input price = close;
input BBlength = 10;
input BBNum_Dev = 1.0;
input MACDfastLength = 12;
input MACDslowLength = 26;
input MACDLength = 5;

def MACD_Data = MACD(fastLength=MACDfastLength, slowLength=MACDslowLength, MACDLength = MACDLength);

plot MACD_Dots = MACD_Data;
plot MACD_Line= MACD_Data;

plot BB_Upper = BollingerBandsSMA(price = MACD_Line, length=BBlength, Num_Dev_Dn=-BBNum_Dev, Num_Dev_Up=BBNum_Dev).UpperBand;
plot BB_Lower = BollingerBandsSMA(price = MACD_Line, length=BBlength, Num_Dev_Dn=-BBNum_Dev, Num_Dev_Up=BBNum_Dev).Lowerband;
plot BB_Midline = BollingerBandsSMA(price = MACD_Line, length=BBlength, Num_Dev_Dn=-BBNum_Dev, Num_Dev_Up=BBNum_Dev).MidLine;

BB_Upper.SetDefaultColor(color.gray);
BB_Lower.SetDefaultColor(color.gray);
BB_MidLine.SetDefaultColor(color.gray);
BB_MidLine.setStyle(curve.SHORT_DASH);

MACD_Line.setDefaultColor(color.white);

MACD_Dots.setStyle(curve.POINTS);
MACD_Dots.setLineWeight(2);
MACD_Dots.assignValueColor(if MACD_Line>MACD_line[1] then color.green else color.red);

plot zero = 0;
zero.assignValueColor(if MACD_line<0 then color.red else color.green);

zero.setLineWeight(2);



If someone can recode those into MT4s SQL i'd much appreciate it.

Dosyalar:

JPG
Indicators.jpg
418.3 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(9)
Projeler
18
22%
Arabuluculuk
3
67% / 33%
Süresi dolmuş
4
22%
Serbest
2
Geliştirici 2
Derecelendirme
(273)
Projeler
395
63%
Arabuluculuk
70
53% / 26%
Süresi dolmuş
198
50%
Serbest
3
Geliştirici 3
Derecelendirme
(8)
Projeler
24
38%
Arabuluculuk
4
50% / 0%
Süresi dolmuş
9
38%
Serbest
4
Geliştirici 4
Derecelendirme
(62)
Projeler
140
46%
Arabuluculuk
19
42% / 16%
Süresi dolmuş
32
23%
Serbest
Benzer siparişler
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
I need an EA edited to make TWO main changes to conditions for how it enters trades. The EA code is written with clean code and is well commented. Will provide more info on changes in a doc in the chat
BUY AND SELL 30+ USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP

Proje bilgisi

Bütçe
20- USD