MT4 code request

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

MT4 code request

Postby twofan7980 » Tue Jun 01, 2021 1:25 pm

study("Scalping Line", overlay=false)

src = input(close, title="Source")

percent = input(1.0,"Percent", type=input.float, step=0.1, minval=0)

mainperiod = input(100,"Main Period")

signalperiod = input(7,"Signal Period")

MA = sma(sma(src, ceil(mainperiod / 2)), floor(mainperiod / 2) + 1)

ssMA = MA>close+MA*percent/100 ? MA : MA<close-MA*percent/100 ? MA : close

signalline = sma(close,signalperiod)

ScalpLine = signalline-ssMA

k1=plot(ScalpLine,"SLI",color.maroon,2)

k2=plot(0,"")

color1= ScalpLine>=0 ? color.green : color.red

fill(k1,k2,color=color1,transp=80)

alertcondition(crossover(ScalpLine,0), title="BUY ALARM!", message="SLI BUY Signal!")

alertcondition(crossunder(ScalpLine,0), title="SELL ALARM!", message="SLI SELL Signal!")


Could you encode the open code in the tradingview above as MT4?
twofan7980
 
Posts: 24
Joined: Thu May 28, 2020 8:34 pm

Re: MT4 code request

Postby Apprentice » Wed Jun 02, 2021 4:02 am

Your request is added to the development list.
Development reference 547.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MT4 code request

Postby twofan7980 » Thu Jun 10, 2021 2:59 pm

esteemed coder hope we get a positive result for my request
twofan7980
 
Posts: 24
Joined: Thu May 28, 2020 8:34 pm


Re: MT4 code request

Postby twofan7980 » Fri Jun 18, 2021 2:44 pm

Thank you very much, dear coder.
twofan7980
 
Posts: 24
Joined: Thu May 28, 2020 8:34 pm


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 37 guests