Trading Articles |
Article Categories |
Article Tools |
Can anyone help convert this pine script to EasyLanguage?
|
|
Updated
|
Top Posters
-
looks_one
Kolnidrei
with 1 posts (0 thanks)
-
looks_two
Virrat
with 1 posts (0 thanks)
-
looks_3
jmi8844
with 1 posts (1 thanks)
-
looks_4
muhfayaz12
with 1 posts (0 thanks)
-
trending_up
7,312 views
-
thumb_up
1 thanks given
-
group
4 followers
-
forum
2 posts
-
attach_file
2 attachments
|
Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members |
- Genuine reviews from real traders, not fake reviews from stealth vendors
- Quality education from leading professional traders
- We are a friendly, helpful, and positive community
- We do not tolerate rude behavior, trolling, or vendors advertising in posts
- We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
|
Can anyone help convert this pine script to EasyLanguage? |
(login for full post details)
|
#1 (permalink)
|
Chicago
Posts: 2 since Oct 2020
Thanks: 0 given,
1
received
|
It seems like its a variation of a channel breakout but having trouble with the exact conversion. Thanks
length = input(30, minval=1)
Value = input(30, minval=0)
highsma = sma(high, length)
lowsma = sma(low, length)
swing = iff(close > highsma[Value], 1, iff(close < lowsma[Value], -1, 0))
mah = highest(high, length)
mal = lowest(low, length)
stop = iff(swing==1, mal, iff(swing==-1, mah, stop[1]))
linecolor = iff(stop < low, green, red)
plot(stop, style=line, linewidth=2, color=linecolor)
len1 = input(1, "Base Length")
src = input(close, "Source")
sma1 = sma(src, len1)
longcondition = crossover(sma1,stop)
shortcondition = crossover(stop,sma1)
plotshape(longcondition, style = shape.triangleup, color = green, location = location.belowbar, text = "Long", size = size.small)
plotshape(shortcondition, style = shape.triangledown, color = red, location = location.abovebar, text = "Short", size = size.small)
alertcondition(longcondition, "Long", "Long")
alertcondition(shortcondition, "Short", "Short")
|
|
|
The following user says Thank You to jmi8844 for this post:
|
|
Can you help answer these questions from other members on futures io? |
|
|
|
Best Threads (Most Thanked) in the last 7 days on futures io |
|
|
(login for full post details)
|
#2 (permalink)
|
Lyon/France
Posts: 23 since Aug 2012
Thanks: 1 given,
14
received
|
hi
the arrows here should be activated with the wingdings
depending on the software you use...
|
|
|
(login for full post details)
|
#3 (permalink)
|
Pakistan near Afghanistan
Posts: 1 since Mar 2022
Thanks: 0 given,
0
received
|
can anyone convert these to easy language script to pine script that i would like be able to use trading veiw
|
|
|
Last Updated on March 24, 2022
|
|
Ongoing
|
|
|
|