İş tamamlandı
Tamamlanma süresi: 4 gün
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Müşteri tarafından geri bildirim
Awesome coder - will definitely use again.
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Geliştirici tarafından geri bildirim
Awesome customer. A pleasure to work with him.
İş Gereklilikleri
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © MightyZinger //@version=5 indicator('Slope Adaptive Moving Average (MZ SAMA)', shorttitle='MZ SAMA', overlay=true) ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///// MZ SAMA ////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// chartResolution = input.timeframe('', title='Chart Resolution') src = input.source(close, 'Source') // Length Inputs string grp_1 = 'SAMA Length Inputs' length = input(200, title='Adaptive MA Length', group = grp_1) // To check for Highest and Lowest value within provided period majLength = input(14, title='Major Length', group = grp_1) // For Major alpha calculations to detect recent price changes minLength = input(6, title='Minor Length', group = grp_1) // For Minor alpha calculations to detect recent price changes // Slope Inputs string grp_2 = 'Slope and Dynamic Coloring Parameters' slopePeriod = input.int(34, title='Slope Period', group = grp_2) slopeInRange = input.int(25, title='Slope Initial Range', group = grp_2) flat = input.int(17, title='Consolidation area is when slope below:', group = grp_2) bull_col = input.color(color.green, 'Bull Color ', inline='dyn_col', group = grp_2) bear_col = input.color(color.red, 'Bear Color ', inline='dyn_col', group = grp_2) conc_col = input.color(color.yellow, 'Reversal/Consolidation/Choppiness Color ', inline='dyn_col', group = grp_2) showSignals = input.bool(true, title='Show Signals on Chart', group='Plot Parameters') //Slope calculation Function to check trend strength i.e. consolidating, choppy, or near reversal calcslope(_ma, src, slope_period, range_1) => pi = math.atan(1) * 4 highestHigh = ta.highest(slope_period) lowestLow = ta.lowest(slope_period) slope_range = range_1 / (highestHigh - lowestLow) * lowestLow dt = (_ma[2] - _ma) / src * slope_range c = math.sqrt(1 + dt * dt) xAngle = math.round(180 * math.acos(1 / c) / pi) maAngle = dt > 0 ? -xAngle : xAngle maAngle //MA coloring function to mark market dynamics dynColor(_flat, slp, col_1, col_2, col_r) => var col = color.new(na,0) // Slope supporting bullish uprtrend color col := slp > _flat ? col_1: // Slope supporting bearish downtrend color slp <= -_flat ? col_2: // Reversal/Consolidation/Choppiness color slp <= _flat and slp > -_flat ? col_r : col_r col //AMA Calculations ama(src,length,minLength,majLength)=> minAlpha = 2 / (minLength + 1) majAlpha = 2 / (majLength + 1) hh = ta.highest(length + 1) ll = ta.lowest(length + 1) mult = hh - ll != 0 ? math.abs(2 * src - ll - hh) / (hh - ll) : 0 final = mult * (minAlpha - majAlpha) + majAlpha final_alpha = math.pow(final, 2) // Final Alpha calculated from Minor and Major length along with considering Multiplication factor calculated using Highest / Lowest value within provided AMA overall length var _ama = float(na) _ama := (src - nz(_ama[1])) * final_alpha + nz(_ama[1]) _ama // SAMA Definition sama = request.security(syminfo.tickerid, chartResolution, ama(src,length,minLength,majLength)) // Slope Calculation for Dynamic Coloring slope = calcslope(sama, src, slopePeriod, slopeInRange) // SAMA Dynamic Coloring from slope sama_col = request.security(syminfo.tickerid, chartResolution, dynColor(flat, slope, bull_col, bear_col, conc_col)) // SAMA Plot plot(sama, 'MZ SAMA', sama_col, 4) // BUY & SELL CONDITIONS AND ALERTS _up = sama_col == bull_col _downn = sama_col == bear_col _chop = sama_col == conc_col buy = _up and not _up[1] sell = _downn and not _downn[1] chop_zone = _chop and not _chop[1] _signal() => var sig = 0 if buy and sig <= 0 sig := 1 if sell and sig >= 0 sig := -1 sig sig = _signal() longsignal = sig == 1 and (sig != 1)[1] shortsignal = sig == -1 and (sig != -1)[1] // Plotting Signals on Chart atrOver = 1 * ta.atr(5) // Atr to place alert shape on chart plotshape(showSignals and longsignal ? (sama - atrOver) : na , style=shape.triangleup, color=color.new(color.green, 30), location=location.absolute, text='Buy', size=size.small) plotshape(showSignals and shortsignal ? (sama + atrOver): na , style=shape.triangledown, color=color.new(color.red, 30), location=location.absolute, text='Sell', size=size.small) // Signals Alerts alertcondition(longsignal, "Buy", "Go Long" ) alertcondition(shortsignal, "Sell", "Go Short") alertcondition(chop_zone, "Chop Zone", "Possible Reversal/Consolidation/Choppiness") if longsignal alert("Buy at" + str.tostring(close), alert.freq_once_per_bar_close) if shortsignal alert("Sell at" + str.tostring(close), alert.freq_once_per_bar_close)
Yanıtlandı
1
Derecelendirme
Projeler
440
26%
Arabuluculuk
125
21%
/
57%
Süresi dolmuş
96
22%
Çalışıyor
2
Derecelendirme
Projeler
27
26%
Arabuluculuk
2
0%
/
50%
Süresi dolmuş
1
4%
Serbest
3
Derecelendirme
Projeler
24
8%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Derecelendirme
Projeler
190
66%
Arabuluculuk
8
25%
/
50%
Süresi dolmuş
2
1%
Serbest
5
Derecelendirme
Projeler
72
22%
Arabuluculuk
13
46%
/
15%
Süresi dolmuş
5
7%
Serbest
6
Derecelendirme
Projeler
573
36%
Arabuluculuk
64
20%
/
58%
Süresi dolmuş
147
26%
Serbest
7
Derecelendirme
Projeler
443
64%
Arabuluculuk
5
40%
/
0%
Süresi dolmuş
4
1%
Çalışıyor
Benzer siparişler
Rewrite the short code
30 - 31 USD
Hi everyone I have a question, is there anyone who can rewrite the code from tradinvivew pineditor to mql5 meta trader? It is about 150 line. My strategy has 50% success rate with RR 2,6. Tested for last one year, strategy works only in bull market. This is trading on gold, unfortunately I am not in the best financial position, in return I would send you the code, if you don't like it I understand that you will stop
Hello I have an indicator here which is based on the crosses...if two lines crossing for buy it must change all candles on the main chart to be green, If two lines crossing for sell it must change all candles to red...Main Chart candles to change color(s) must be controlled by the cross indicator
Retrieve US30 asset price data from Ctrader Convert it to YM futures data Display the converted data on TradingView
100 - 150 USD
I need help on my project. Retrieve US30 asset price data from Ctrader Convert it to YM futures data Display the converted data on TradingView The reason why I need to convert US30 cfd prices from Ctrader into YM future prices is because all of my trading signals are from ctrader, and i need to trade on tradingview. Thanks
CTRADER
30+ USD
can you help me with this project? Retrieve US30 asset price data from Ctrader Convert it to YM futures data Display the converted data on TradingView The reason why I need to convert US30 cfd prices from Ctrader into YM future prices is because all of my trading signals are from ctrader, and i need to trade on tradingview. Thanks
I need help with a small project. Basically I need to convert us30 asset price on Ctrader platform into YM futures on tradingview. Can you do it? It should be quite straight forward this is an example of what my trade signals look like
Skarito98
30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us
hello i need a professional to convert a fully functioning buy and sell signal strategy on tradingview to EA mt4 , the signals trigger when the bar closed match all conditions , it has a specific calculation for strength of each pair
Attached is a ThinkScript Strategy. I would like to convert it into an Expert Advisor for MQL4. Here is a link of a PineScript code for a similar indicator. This is just to give you additional info about the indicator, hence helping you to convert it from Thinkscript to MQL4
Only with feedbacks
30 - 100 USD
PINESCRIPT->MQL4 i need a exactly conversion of the file attached to mql4 with source code (i need the source code), obviously as indicator for mt4 let me know your bid and timeline
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
Proje bilgisi
Bütçe
30 - 80 USD
Geliştirici için
27
- 72
USD
Son teslim tarihi
to 2 gün