//
//=/===============/=//=/===============/=//=/ Nervosité
//
defparam drawonlastbaronly = true
//
//=/===============/=//=/===============/=//=/ Minute signal
//
//=/ signal chaque minutes
signal = 0
//=//
if openminute > openminute[1] then
signal = 1
endif
//=//
if signal[1] = 1 then
signal = 0
endif
//
//=/===============/=//=/===============/=//=/ Decompte de l'espace minute
//
//=/ Decompte
ho = 1
if signal = 0 then
ho = ho[1] + 1
endif
//=//
if ho < ho[1]-1 then
ha = ho[ho]
endif
//=//
if ha < ho then
ha = ho
endif
//
//=/===============/=//=/===============/=//=/ Moyenne des pics de transaction
//
//=/ Moyenne des transaction
MxT = average[95000](ha)
drawhline(MxT) coloured (R,G,B)
//
//=/===============/=//=/===============/=//=/ Coloration
//
if ha => Mxt then
R = 0
G = 153
B = 255
//=//
elsif ha < MxT then
R = 102
G = 102
B = 102
endif
//
//=/===============/=//=/===============/=//=/ Visuel
//
//=/ Rectangle
if ha => MxT then
drawrectangle(barindex[95000],MxT,barindex,0) coloured(0,153,255,100) bordercolor(0,0,0,0)
//=//
elsif ha < MxT then
drawrectangle(barindex[95000],MxT,barindex,0) coloured(199,19,19,100) bordercolor(0,0,0,0)
endif
//
//=/===============/=//=/===============/=//=/ end
//
return ha coloured (R,G,B) as "Transaction"
Note that this indicator is more useful for scalping than for day trading, even useless beyond 1 minute.
The idea is based on the number of short-term speakers and therefore, the nervousness of the short term.
Increasing the transaction unit of the calculation and changing the parameters of the indicator could be useful for day trading.
Use the indicator on 1 Tick with 200K of data.
Hi IV Mcm,
are you also interested in new ideas for a new indicator, and if so, can I send you a private message somehow?
Thanks 🙂
Hello,
If you wish to make an encoding request, you can also ask Nicolas, founder of the site and professional encoder!
You can also make a request on the forum 😉
Update with patch and faster calculation speed, the indicator is still displayed in the time unit 1 tick, but you can choose the amount of history you want.
Also works on the time unit 1 volume!
//
//=/ = = = = = Paramettre de Base
//
defparam drawonlastbaronly = true
drawcandle(-1,0,-1,0) coloured(0,0,0,0)
//
//=/ = = = = = Signal Minute
//
SxM = 0
if (minute > minute[1]) then
SxM = 1
endif
//=//
if hour > hour[1] then
SxM = 2
endif
//=//
if SxM[1] = 1 or SxM[1] = 2 then
SxM = 0
endif
//=//
RxM = 1
if SxM = 0 then
RxM = RxM[1] +1
endif
//=//
if SxM = 1 or SxM = 2 then
MxM = RxM[RxM]
endif
//=//
if MxM < RxM then
MxM = RxM
endif
//
//=/ = = = = = Fin
//
return RxM coloured(0,150,255,100) style(line,1) as "RxM", MxM coloured(0,150,255) style(line,2) as "MxM", 0 coloured(102,102,102) style (line,2) as "0"
New fix, the last one gives a bug every new hour
//
//=/ = = = = = Paramettre de Base
//
defparam drawonlastbaronly = true
drawcandle(0,200,0,200) coloured(0,0,0,0)
//
//=/ = = = = = Signal Minute
//
SxM = 0
if (openminute > openminute[1]) then
SxM = 1
endif
//=//
if openhour > openhour[1] then
SxM = 2
endif
//=//
if SxM[1] = 1 then
SxM = 0
endif
//=//
if SxM[1] = 2 then
SxM = 0
endif
//=//
RxM = 1
if SxM = 0 then
RxM = RxM[1] +1
endif
//=//
if SxM = 1 or SxM = 2 then
MxM = RxM[RxM]
endif
//=//
if MxM < RxM then
MxM = RxM
endif
//
//=/ = = = = = Fin
//
return RxM coloured(0,150,255,100) style(line,1) as "RxM", MxM coloured(0,150,255) style(line,2) as "MxM", 0 coloured(102,102,102) style (line,2) as "0"
Hi Ichimoku Reading
Thanks for sharing this code. Do you know ho we can adapt it for 3000 Ticks or 5 min?
Thanks a lot!
can you describe in short how you use the indicator to scalp?