Ema trend meter indicator
Forums › ProRealTime forum Italiano › Supporto ProBuilder › Ema trend meter indicator
- This topic has 5 replies, 3 voices, and was last updated 8 months ago by Stenozar.
Viewing 6 posts - 1 through 6 (of 6 total)
-
-
04/03/2024 at 9:20 PM #231022
E’ possibile tradurre questo indicatore Tradingview? https://www.tradingview.com/script/KFLuglJc-EMA-Trend-Meter/
Grazie,
Stefano
04/04/2024 at 8:42 AM #23103904/04/2024 at 9:51 AM #231044Ecco la mia interpretazione dell'indicatore.
PRC_EMA Misuratore di tendenza12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273//PRC_EMA Trend Meter//version = 0//04.04.24//Iván González @ www.prorealcode.com//Sharing ProRealTime knowledge//-----Inputs--------------------------------------------------//src=customclosep0=1//Periods Baseline moving averaget0=1//Type of moving averagep1=7//Periods moving average 1t1=1//Type of moving average 1p2=14//Periods moving average 2t2=1//Type of moving average 2p3=21//Periods moving average 3t3=1//Type of moving average 3n=1//Periods ROC calculationrsiperiod = 14//RSI periodsStolength = 14//Stochastic LengthSmoK=3//K periodsSmoD=3//D periods//-------------------------------------------------------------////-----EMAs Calculations---------------------------------------//ema0 = average[p0,t0](src)ema1 = average[p1,t1](ema0)ema2 = average[p2,t2](ema0)ema3 = average[p3,t3](ema0)rocema1 = roc[n](ema1)rocema2 = roc[n](ema2)rocema3 = roc[n](ema3)//-------------------------------------------------------------////-----Stochastic RSI Calculations----------------------------------------//myRSI = rsi[rsiperiod](ema0)minRSI = lowest[Stolength](myRSI)maxRSI = highest[Stolength](myRSI)StochRSI = (myRSI-MinRSI) / (MaxRSI-MinRSI)Stok = average[SmoK](StochRSI)*100StoD = average[SmoD](Stok)//-------------------------------------------------------------////-----Trend meter configuration-------------------------------//if rocema1>0 thenr01=0g01=255elser01=255g01=0endifif rocema2>0 thenr02=0g02=255elser02=255g02=0endifif rocema3>0 thenr03=0g03=255elser03=255g03=0endifif StoK>StoD thenr=124g=124b=124elser=0g=0b=0endif//-------------------------------------------------------------////-------------------------------------------------------------////-------------------------------------------------------------//return 1 as "ema1" coloured(r01,g01,0)style(line,5),2 as "ema2" coloured(r02,g02,0)style(line,5),3 as "ema3" coloured(r03,g03,0)style(line,5),4 as "RSI" coloured(r,g,b)style(line,5)04/04/2024 at 9:20 PM #23107004/05/2024 at 4:07 PM #231118Pubblica solo nella lingua del forum in cui stai postando. Ad esempio solo l’inglese nei forum di lingua inglese e il francese solo nei forum di lingua francese.
Grazie 🙂
Probabilmente hai fatto male il Copia & Incolla.
Importa il file allegato.
1 user thanked author for this post.
04/05/2024 at 6:12 PM #231125 -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
Find exclusive trading pro-tools on
Similar topics: