Port an indicator from TeleTrader to MT5

MQL5 Experten

Auftrag beendet

Ausführungszeit 4 Stunden
Bewertung des Kunden
Clean and crisp coder. Very satisfied.
Bewertung des Entwicklers
Thank you!

Spezifikation

Hi,

This indicator is for TeleTrader and it needs to be ported to MT5.


Function supertrend
Returns Nothing;

Parameters
 Security Source;
 Numeric Factor;
 Numeric Period;

Variables
 Numeric volaValue;
 Numeric avgValue;
 Numeric upperValue;
 Numeric lowerValue;
 Numeric trendFlag(1);
 Numeric flagValue1;
 Numeric flagValue2;
 Numeric valOut;

Begin
 volaValue = #atr(Source, Period);
 avgValue = (Source.High + Source.Low) / 2;

 upperValue = avgValue + (Factor * volaValue);
 lowerValue = avgValue - (Factor * volaValue);

 If Source.Close > upperValue[1] Then
  trendFlag = 1
 Else If Source.Close < lowerValue[1] Then
  trendFlag = -1
 Else
  trendFlag = trendFlag[1];

 If trendFlag < 0 And trendFlag[1] > 0 Then
  flagValue1 = 1
 Else
  flagValue1 = 0;

 If trendFlag > 0 And trendFlag[1] < 0 Then
  flagValue2 = 1
 Else
  flagValue2 = 0;

 If trendFlag > 0 And lowerValue < lowerValue[1] Then
  lowerValue = lowerValue[1];

 If trendFlag < 0 And upperValue > upperValue[1] Then
  upperValue = upperValue[1];

 If flagValue1 = 1 Then
  upperValue = avgValue + (Factor * volaValue);

 If flagValue2 = 1 Then
  lowerValue = avgValue - (Factor * volaValue);

 If trendFlag = 1 Then
  valOut = lowerValue
 Else
  valOut = upperValue;

 DrawLine("SuperTrend", valOut);

Bewerbungen

1
Entwickler 1
Bewertung
(563)
Projekte
932
47%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
124
13%
Arbeitet
Ähnliche Aufträge
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it

Projektdetails

Budget
30+ USD
MwSt (20%): 6 USD
Insgesamt: 36 USD
Für die Entwickler
27 USD