1. Convert the following pinescript to MQL5 EA
2. Add in entry buy / sell limit/ market orders types
2a. Limit order based on market close of signal bar
2b. Display buy / sell signal on chart similar to trading view
3. Exit current position / cancel previous order (if not executed) on opposite signal + enter into position based on new opposite signal based on item 2)
4. Include optional stop loss (% terms), trailing stop loss (% terms) and chandelier exit (code available in mql5, attached) options, whichever activated earlier
4a. inputable Chandelier exit inputs
5. Include optional take profit in i) % terms, ii) based on ATR. For these options, pls add % of holdings to liquidate... remaining can be liquidated using opposite signal
6. Order entry based on % of equity
7. Magic number entry
8. Current / Custom symbol(s) option
PineScript code .........................................
//@version=4
study("Hull Trend", shorttitle="HMA Trend",overlay=true)
length = input(24)
src = input(hl2)
showcross = input(true, "Show cross over/under")
hma(_src, _length)=>
wma((2 * wma(_src, _length / 2)) - wma(_src, _length), round(sqrt(_length)))
hma3(_src, _length)=>
p = length/2
wma(wma(close,p/3)*3 - wma(close,p/2) - wma(close,p),p)
a = hma(src, length)
b = hma3(src, length)
c = b > a ? color.lime : color.red
p1 = plot(a,color=c,linewidth=1,transp=75)
p2 = plot(b,color=c,linewidth=1,transp=75)
fill(p1,p2,color=c,transp=55)
crossdn = a > b and a[1] < b[1]
crossup = b > a and b[1] < a[1]
plotshape(showcross and crossdn ? a : na, location=location.absolute, style=shape.labeldown, color=color.red, size=size.tiny, text="Sell", textcolor=color.white, transp=0, offset=-1)
plotshape(showcross and crossup ? a : na, location=location.absolute, style=shape.labelup, color=color.green, size=size.tiny, text="Buy", textcolor=color.white, transp=0, offset=-1)
Similar orders
Hello talented developers, I’m actively looking for an expert developer who can quickly and accurately convert an existing MQL4 indicator into Pine Script for TradingView. The indicator is already prepared and ready to share. I need someone who can replicate the logic perfectly in Pine Script, ensuring clean code, full functionality, and reliable results on TradingView. Looking forward to work with the best and
Hello experts, I’m looking for a professional and experienced developer to assist with a project involving the conversion of an existing MQL4 indicator to Pine Script (TradingView). The goal is to replicate the full functionality of the indicator accurately in Pine Script, ensuring that all the signals, logic, and features work seamlessly on TradingView. Clean, optimized code and proper testing are essential
I need a professional developer who we can work on my current project and other project i have in Que. Hello I need exactly that! Already have a mt5 strategy…. I need to convert the same to ninja and TradeLocker let me know price timing and what you need. I need it Asap
I have my own renko chart. When the first block closes above RSi level (X) I want to buy then when the first block closes below rsi level (x) I want the trade to close and a sell to open. When the first block closes below rsi level (x) i want the ea to sell and not close until the first block closes above rsi level (x) then a buy should open If there is a loss, 2 trades should be taken at the same time. A regular
Good day, Im looking for someone who can convert my MQ4 indicator to MQ5. Add some buffers and variables into it that i can use to declare sooner. Attached is the specifications I need. Codes will be sent after accepting the job. If you do not want this, kindly do not bother to message on this job
Good day, Im looking for someone who can convert my MQ4 indicator to MQ5. Add some buffers and variables into it that i can use to declare sooner. I also want someone who can explain to me the codes i am confused on
I have a pine script that I am running on TradingView. I have used the crosstrade software to automatically take the trades on my ninjatrader. The execution delay is making things super difficult. Also, the strategy is taking multiple positions when it hits the entry price twice on the same bar. I’d like to have only one position open each time it hits the entry price on one bar. Can anyone convert my pinescript into
المؤشرات على معالجة مخططات الأسعار أو تسلسلات الأسعار. والغرض من هذه المعالجة هو توفير أداة تحليل فني مرئية. لذلك، عند طلب مؤشر، عليك تقديم إجابات لبعض الأسئلة، مما يساعد المبرمج على
Hello I need exactly that! Already have a mt5 Indicator strategy…. I need to convert the same Indicator to ninja and TradeLocker let me know price timing and what you need Let me know if you can work on this
hello great developer i just want a conversation,I am simply trying to get it work in ninjatrader the same as it would in tradingview just to Simple, Maintain indicator's core functionality and accuracy Clear communication throughout conversion Testing, validation, and one revision included we can start as long as you can maintain indicator's core functionality and accuracy any small changes in visuals can be worked