Convert Pinescript to EasyLanuage, Tradestation $10-100 USD $10-100 USD Betales ved levering
Convert Pinescript from Tradingview to EasyLanguage script on Tradestation.
You need to have access to Tradestation to ensure that entries/exits and performance of Tradestation script matches Tradingview entries/exits and performance.
// This source code is subject to the terms of the Mozilla Public License 2.0 at [login to view URL]
// © alvik44
//@version=4
strategy("Trend_Al1", overlay=true)
length = input(title="ATR Period", type=[login to view URL], defval=5)
mult = input(title="ATR Multiplier", type=[login to view URL], step=0.1, defval=2.1)
mafast = sma(close, 20)
maslow = sma(close, 200)
plot(mafast, color = [login to view URL])
plot(maslow, color = [login to view URL])
longColor = [login to view URL]
shortColor = [login to view URL]
noneColor = [login to view URL]([login to view URL], 100)
atr = mult * atr(length)
longStop = low - atr
longStopPrev = nz(longStop[1], longStop)
longStop := (close[1]) > longStopPrev ? max(longStop, longStopPrev) : longStop
shortStop = high + atr
shortStopPrev = nz(shortStop[1], shortStop)
shortStop := (close[1]) < shortStopPrev ? min(shortStop, shortStopPrev) : shortStop
dir = 1
dir := nz(dir[1], dir)
dir := dir == -1 and (close) > shortStopPrev ? 1 : dir == 1 and (close) < longStopPrev ? -1 : dir
buySignal = dir == 1 and dir[1] == -1
sellSignal = dir == -1 and dir[1] == 1
if buySignal
[login to view URL]("LONG", [login to view URL])
if sellSignal
[login to view URL]("SHORT", [login to view URL])
longStopPlot = plot(dir == 1 ? longStop : na, title="Long Stop", style=plot.style_linebr, linewidth=2, color=longColor)
shortStopPlot = plot(dir == 1 ? na : shortStop, title="Short Stop", style=plot.style_linebr, linewidth=2, color=shortColor)
Projekt-ID: 28727063
Om projektet 1 forslag
Projekt på afstand
Aktiv 3 år siden
Leder du efter muligheder for at tjene penge? Emailadresse Søg lignende jobs Fordele ved budafgivning på Freelancer Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Det er gratis at skrive sig op og byde på jobs
1 freelancere byder i gennemsnit $100 USD på dette job
Hello, As a Software Developer, I am well skilled in Metatrader, Amibroker, Pine script, Sierra chart, Calgo trader, Thinkorswim Algorithm, tradestation and Ninjatrader (NT8 and NT7). Having done several tasks on these platforms, I will be delighted to help you with your project. Initiate a chat so that we can discuss it further. Thank you.
$100 USD på 2 dage
3,3 (4 anmeldelser)