MetaTrader 5 – TrendLord
Forums › ProRealTime English forum › ProBuilder support › MetaTrader 5 – TrendLord
- This topic has 3 replies, 3 voices, and was last updated 9 months ago by Iván.
Viewing 4 posts - 1 through 4 (of 4 total)
-
-
02/07/2024 at 3:18 PM #227574
Hello,
Please can you create this indicator for PRT ?
Here is the original topic : https://fxcodebase.com/code/viewtopic.php?f=38&t=73429
Here is a video of this indicator : https://www.youtube.com/watch?v=wpfk64AnEl4
Sincerely
02/07/2024 at 3:48 PM #22758302/07/2024 at 6:52 PM #227608Oops ! I’m sorry. Excuse me for my mistake.
Sincerely.
03/06/2024 at 5:09 PM #229352Hi,
Here you have:PRC_Trend Lord1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950//PRC_Trend Lord//version = 0//06.03.24//Iván González @ www.prorealcode.com//Sharing ProRealTime knowledge///inputsmaperiod = 30 // periodssmoothedSMA = 1 // calculations with smoothed simple moving averagemamethod = 1 // method moving averagesrc = customcloseSqLength = round(sqrt(maperiod))maperiod = 30maperiod = MAX(maperiod, 1)if smoothedSMA then///Candle definitionIF BarIndex = 0 THENbufopen = srcbuflow = bufopenbufhigh = bufopenbufclose = buflowELSEbufopen = bufopen[1] + (src - bufopen[1]) / maperiodbufhigh = bufopenbuflow = buflow[1] + (bufopen - buflow[1])/ Sqlengthbufclose = buflowENDIFelse///Candle definitionbufopen = average[maPeriod,mamethod](src)bufhigh = bufopenbuflow = average[Sqlength,mamethod](bufopen)bufclose = buflowendif///Candle colorif bufopen>bufclose thenr=250g=0elser=0g=250endif///Draw candlesDRAWCANDLE(bufopen, bufhigh, buflow, bufclose)coloured(r,g,0,75)return1 user thanked author for this post.
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)