Convert the TradingView oscillator into an MT5 strategy.

MQL5 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 59 dakika
Geliştirici tarafından geri bildirim
Good business. Thanks!

İş Gereklilikleri

Hi 

Please convert the oscillator from tradingview to the mt5 strategy. 


The strategy is to open a long position when the Red Oscillator line crosses the lower band from the bottom up (above the value of 0) and close the position when the red oscillator line crosses the upper band from the top down (below the value of 1) and when closing the long position it is to open the position short, i.e. when the red oscillator line crosses the upper band from the top down (below the value 1) and close the short position when the red oscillator line crosses the lower band from the bottom up (above the value 0) (conditions opposite to opening a long position)

The position is to be opened after the candle closes.

If at a given moment we have an open position, e.g. a short position, and the conditions for opening a short position are met again, we do not open the position again but wait for the conditions to close the position to be met (only one position can be open at a given time), this can be seen in the photo where the conditions occurred again to open a short position, but we do not add to the already open position, we wait for it to be closed.

 This is oscillator from tradingview Cycle Channel Oscillator [LazyBear]

//
// @author LazyBear 
// List of my public indicators: http://bit.ly/1LQaPK8
// List of my app-store indicators:  
//
study("Hurst Cycle Channel Clone Oscillator [LazyBear]", shorttitle="HCCCO_LB", overlay=false)
scl_t =  input(10, title="Short Cycle Length?")
mcl_t =  input(30, title="Medium Cycle Length?")
scm =  input(1.0, title="Short Cycle Multiplier?")
mcm =  input(3.0, title="Medium Cycle Multiplier?")
src=input(close, title="Source")
scl = scl_t/2, mcl = mcl_t/2
ma_scl=rma(src,scl)
ma_mcl=rma(src,mcl)
scm_off = scm*atr(scl)
mcm_off = mcm*atr(mcl)
scl_2=scl/2, mcl_2=mcl/2
sct =  nz(ma_scl[scl_2], src)+ scm_off
scb =  nz(ma_scl[scl_2], src)- scm_off
mct =  nz(ma_mcl[mcl_2], src)+ mcm_off
mcb =  nz(ma_mcl[mcl_2], src)- mcm_off
scmm=avg(sct,scb)
ul=plot(1.0, title="UpperLine", color=gray), ml=plot(0.5, title="MidLine", color=gray), ll=plot(0.0, title="LowerLine", color=gray)
fill(ll,ml,color=red), fill(ul,ml,color=green)
omed=(scmm-mcb)/(mct-mcb)
oshort=(src-mcb)/(mct-mcb)
plot(omed>=1.0?omed:na, histbase=1.0, style=histogram, color=purple, linewidth=2, title="MediumCycleOB")
plot(omed<=0.0?omed:na, histbase=0.0, style=histogram, color=purple, linewidth=2, title="MediumCycleOS")
plot(oshort>=1.0?oshort:na, histbase=1.0, style=histogram, color=purple, linewidth=2, title="ShortCycleOB")
plot(oshort<=0.0?oshort:na, histbase=0.0, style=histogram, color=purple, linewidth=2, title="ShortCycleOS")
plot(oshort, color=red, linewidth=2, title="FastOsc")
plot(omed, color=green, linewidth=2, title="SlowOsc")
ebc=input(false, title="Enable bar colors")
bc=(oshort>0.5)?(oshort>1.0?purple:(oshort>omed?lime:green)):(oshort<0?purple:(oshort<omed?red:orange))
barcolor(ebc?bc:na)

In the strategy, i also want to be able to change the input parameters as in the photo


      

Strategy Photo:


 "Visualization of the strategy"

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(183)
Projeler
234
59%
Arabuluculuk
7
29% / 29%
Süresi dolmuş
8
3%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(290)
Projeler
432
64%
Arabuluculuk
5
40% / 0%
Süresi dolmuş
4
1%
Yüklendi
3
Geliştirici 3
Derecelendirme
(73)
Projeler
85
56%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
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

Proje bilgisi

Bütçe
50 - 80 USD
KDV (23%): 11.5 - 18.4 USD
Toplam: 61.5 - 98.4 USD
Geliştirici için
45 - 72 USD
Son teslim tarihi
from 1 to 3 gün