I want the half trend indicator to be converted to pine script for Tradingview
Forums › ProRealTime English forum › ProBuilder support › I want the half trend indicator to be converted to pine script for Tradingview
- This topic has 7 replies, 3 voices, and was last updated 4 years ago by Vonasi.
-
-
04/27/2020 at 2:26 PM #128435
Convert the Half Trend Indicator to Pine for use in Trading View
halftrnd12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455// HalfTrend PRC indicator 10.03.2017lowpricei = Lowest[Amplitude](low)highpricei = Highest[Amplitude](high)lowma = average[Amplitude](low)highma = average[Amplitude](high)if barindex>Amplitude thenif(nexttrend=1) thenmaxlowprice=Max(lowpricei,maxlowprice)if(highma<maxlowprice and Close<Low[1]) thentrend=1.0nexttrend=0minhighprice=highpriceiendifendifif(nexttrend=0) thenminhighprice=Min(highpricei,minhighprice)if(lowma>minhighprice and Close>High[1]) thentrend=0.0nexttrend=1maxlowprice=lowpriceiendifendifif(trend=0.0) thenif(trend[1]<>0.0) thenup=down[1]elseup=Max(maxlowprice,up[1])endifdown=0.0elseif(trend[1]<>1.0) thendown=up[1]elsedown=Min(minhighprice,down[1])endifup=0.0endifendifif up>0 thenhalftrend = upcolor = 1elsehalftrend = downcolor = -1endifcc = customclosema = average [p,m](halftrend)return cc as " cc " , halftrend coloured by color as "Half Trend" , ma as " ma ht "// Variables :// Amplitude = 2// p = 6// m = 2 pondéréeMT4 code is attached pls check out .
04/27/2020 at 2:50 PM #128438It’s possible to make free conversions from other platforms to ProRealTime.
For other conversions apply through the paid services at https://www.prorealcode.com/trading-programming-services/
Thsnk you 🙂
04/27/2020 at 3:54 PM #128454It’s possible to make free conversions from other platforms to ProRealTime.
For other conversions apply through the paid services at https://www.prorealcode.com/trading-programming-services/
Thsnk you 🙂
pls help if possible.
04/27/2020 at 5:34 PM #128474Welcome to the forums.
Do not quote in your posts unnecessarily – it is quite obvious that you were replying to Roberto as he was the only other person in the Topic! Please re-read the forum rules regarding using quotes.
Roberto has already answered your question. Conversion to PRT Code is free. Conversion from PRT Code is a paid for service. Use the link Roberto posted to ask about this service.
1 user thanked author for this post.
05/04/2020 at 9:01 PM #129919HOW TO GET FREE CODE CCONVERTION
05/04/2020 at 9:16 PM #129923HOW TO GET FREE CODE CCONVERTION
ASK FOR A CONVERSION FROM TRADINGVIEW TO PRT AND NOT FROM PRT TO TRADINGVIEW – THAT’S HOW!
Your question has now been answered three times.
I have deleted your last ‘junk’ post.
If you keep asking the same question over and over again then it will be considered as spam and your account closed.
Capital letters are considered shouting and should not be used in forums to ask a question by the way.
05/15/2020 at 8:30 PM #131829– Welcome to the forums.
Do not quote in your posts unnecessarily – it is quite obvious that you were replying to Roberto as he was the only other person in the Topic! Please re-read the forum rules regarding using quotes.
Roberto has already answered your question. Conversion to PRT Code is free. Conversion from PRT Code is a paid for service. Use the link Roberto posted to ask about this service.
Pls can’t you delete this reply or change my name in this reply.My profile name is lucky singh
Pls change to this.
05/15/2020 at 10:01 PM #131835My profile name is lucky singh Pls change to this.
You changed it yourself. Your account will still be in the name of ‘xxx’ but your profile name is now ‘xxx’.
Moderators have better things to do than edit your old posts to remove mentions of ‘xxx’ just because you chose to change your user name. For example there is a glass of wine left in the bottle that really needs drinking. 🙂
-
AuthorPosts
Find exclusive trading pro-tools on