Convert a small indicator from MQL4 to MQL5

MQL5 Indicators Product Design

Job finished

Execution time 6 hours
Feedback from employee
Thanks for the fair order. Wish you safe trades.

Specification

I would like a price estimate on converting the indicator attached below from Metatrader 4 to 5 please.


The information below is from the developer of the script

"

1. Lean out your windowsill and stare into the sky.  Just kidding.  The first step compares the first (high-low) prices with the ((highest high) — (lowest low)) prices over the specified number of periods.

2. The value from the first step is then averaged with an RMA (Modified Moving Average also known as a Running Moving Average).

3. This smoothed value is then converted with a logarithmic function.

4. Finally, this value is averaged again using RMA.

So Sparkly

As mentioned earlier, we’ve kept the default settings, but brightened things up from blue/red to aqua/magenta for this color change (or zero cross if you’re partial to that) confirmation indicator.  We took our ghost candles from last week and returned their sheets, so we’re white on white to keep things spiffy.

Settings

There are five variables here, but we’re only concerned with three of them, which gives us a fair degree of control without getting too crazy.  The other two allow you to change the visuals.

RangePeriods:  The number of periods used for the overall calculation of the signal line.  The default value is 30.

PriceSmoothing:  First iteration of a smoothing function.  The default value is 0.3.

IndexSmoothing:  Second iteration of the smoothing function.  The default value is 0.3.

Zoom Zoom

We wanted to include a close up of the zero line, where attention to detail matters.  Below, you can see that the symbols print above or below and if it’s too close to tell, use the data window to get conclusive evidence. 

Other Visuals

As a bonus, the optional two settings control how the indicator looks.  The default are the odd looking stars, but if you’re partial to histograms, or just signal lines, we’ve got you covered.  Below is an image with all three, so you can pick your poison.  The default value is 3; stars, and 2 is the histogram, leaving option 1 as red and blue signal lines.  The size controls…well, the size!  Now, go have some fun.

Setting Notes

To prevent a wild goose chase, pay attention to the second and third settings in the testing data.  The first thing that you’ll notice is that the numerical value doesn’t really move too far from the original value.  That means you won’t have to spend unnecessary time with numbers which aren’t helpful.

Advantages

* Colors make it easy to visually determine signals.

* Smooth signals for longer trend trades.

* Variables are easier to test due to narrow range.

How we use it.

One of three actions need to happen in the last 30 minutes prior to the close of the trading day.  They are; opening, maintaining, or closing, a position.  This is when you make your trading decisions, and not actually wait for the close at 1700 EST, because we trade on the daily time frame.

Long: Blue signal line rises above zero.  Entry is in the last 30 min. of the trading day.

Short:  Red signal line falls below zero.  Entry is in the last 30 min. of the trading day.

Star Signals

On the mark-up below, we took advantage of the starry theme and identified signals with…well, stars!

We really appreciated how this indicator kept us in trades when a faster confirmation would have returned multiple signals.  A good C2, perhaps?  There was really only one bad spot where the signal line popped up over the zero line, took a break and went back below.  We liked this one, and wait until you see the testing results.  Exciting stuff.

Star Signs

If you’re new to these studies, we recommend looking at some older blogs to understand how we conduct our testing.  We’re going to be using our alternative numbers.

No Wishing Required

Below is the data from our testing.

Well now, pretty darn good all the way around.  In fact, you’ll notice that the default values on most of the results are positive.  That’s a great way to start.  We got some good numbers on the EUR and of course XAU was the darling, posting excellent default and tweaked settings.  Go try this one out.  We’re glad we found it and happy to share it.  

"

link to script -- https://h54969.p3cdn1.secureserver.net/wp-content/uploads/2024/01/Kuskus_Starlight.zip

Kind Regards

Q Awaseb



Responded

1
Developer 1
Rating
(194)
Projects
251
62%
Arbitration
9
22% / 33%
Overdue
9
4%
Working
2
Developer 2
Rating
(52)
Projects
97
24%
Arbitration
10
20% / 20%
Overdue
12
12%
Working
3
Developer 3
Rating
(152)
Projects
241
60%
Arbitration
3
67% / 0%
Overdue
6
2%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I want an Expert Advisor developed that will use two MAs to determine the trend, then open trades at every candle close subsequently. Each opened trade will have a take profit and a stop loss. The EA should be able to trade multiple forex pairs at the same time, and should also be able to trade on any specified/chosen timeframe. The EA will also have a news filter, to determine if the EA should trade during news
Hello, I have a physically trading keyboard and i want to connect it with tradelocker, mt4,mt5 and ctrader. People need to be able to open and close a position with the keyboard really fast. i need it on macos, windows and linux. (desktop) My competition is: www.magickeys.trade My goal is to be the number 1 to sell the keyboards + software. When people order a tradingkeyboard they will get a mail after the purchase
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
GOODAY TO YOU I AM NEED OF A FAST, TALENTED AND HIGH QUALITY CODER TO THIS JOB FOR ME. THE EA TRADE MANAGER WILL HAVE THE FOLLOWING: STOPLOSS & TAKEPROFIT IN PIPS LOT SIZE IN PIPS NUMBER OF TRADES (1-30 TRADES MAXIMUM) PLEASE LOOK AT THE PICTURE ABOVE FOR A GUIDE
Hi , I need a script written for Auto trading bot to trade on Trading View. This is a simple strategy to trade Renko chart on Trading view. The trading bot will have rules for entry and exit. Stop loss and Take Profit. order size by x% of equity. Daily profit target in pips. I want an experienced Trading View Pine script coder please! Thanks

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
from 1 to 3 day(s)