bytimeLibrary "bytime"
TODO: to do something at the specified time.
////Return =>> ht = hour , mt = minute , st = second ,Dt = Day, Mt = month, Yt = year , dateTime = full time format./////////////
Note : Remember to always add import when you call our library and change Gtime() to Timeset.Gtime() is used to access internal data.
import hapharmonic/bytime/1 as Timeset
=Timeset.Gtime()
/////////////Set a time to trigger an alert./////////////
ck = false
///hour : minute : second
if ht == TH and mt == TM and st == TS
//some action
//...
//.
ck := true
Gtime()
Timeatmode
Moving averages and bandsI coded this simple indicator based on multiple ideas shared by Tim West at his "Key Hidden Levels" chatroom.
We have a moving average ribbon comprised of the average of the highs and lows in 10 periods. The colored space in between acts more or less like fair value and is often where price is when consolidating.
Green and red triangles at the top and bottom of the screen.
The ones at the bottom, correspond to signals obtained from a 4 period moving average of the close's slope. It helps get excellent exits for trending moves by changing color with the moving average slope.
The ones at the top, are green while Bollinger Band Width increases, and red while it decreases, relative to the previous bar.
Background color highlights when the close moves over the moving average of the highs or under the moving average of the lows, indicating a change of trend is possible, or at least a pause/consolidation.
The idea is to have multiple reasons to stay in a trade, which is normally very hard to do, specially when winning.
Cheers,
Ivan Labrie
Time at Mode FX
4H CCI Strategy 1.5Included adaptive lot size based on ATR, and also ATR based stop and take profit levels.
Risk/reward increased to 1:2 and should work in all ranging FX pairs as long as they are not trending.
Once the market starts trending it'll eat this bot alive.
Cheers,
Ivan Labrie
Time at Mode FX
4H CCI Strategy 1.3Still working on fixing the code 100%.
Will update with a new version soon.
This one's fine tuned for gold (tp and sl size, and contract size for a 100k account)
Cheers,
Ivan Labrie
Time at Mode FX
POC bands 2.0 and other assorted goodiesI updated my old indicator that plotted a Kalman filter avg. of the bars inside a higher timeframe bar, to attempt to find the most frequent price in that bar's timespan.
It ended up being somewhat close, but not exact, but the result is that you get a pseudo-vwap without a need for volume data, that isn't cumulative and can indicate trend direction, or if the market's ranging.
This is very powerful information!
I highlight a trade setup we get here, derived from observing the indicator's slope and knowing how to read price action, assisted by rgmov and cci readings.
To get the code for the other indicator's you will have to click on share, and then on 'Make it mine' so you get the whole layout.
Good luck and hope you find these of use.
Cheers,
Ivan.
R.E.Signal V3.1: Code updateI removed the outside bar filter for range expansion bars.
You will need Tim West's TW_UB indicator to plot those. It'll be more useful if you use both, since you can see when prices trend or consolidate visually by seeing the bar colors alongside the range expansions.
Cheers,
Ivan.
R.E.Signal V3.0: Updated version to work with Key Hidden LevelsHi, I updated the code to be able to use Tim West's TW_UB indicator, which helps a lot with seeing price waves, coloring bars that form new highs green, new lows red and inside and outside bars red.
The indicator now only plots range expansion bars, with a triangle shape above or below each bar to make it visually clear.
Hope you find this of use.
Cheers,
Ivan.
CCI with averagesI coded this indicator to adapt a few techniques I learned from Constance Brown to CCI, which is a very good momentum indicator which gives great signals if you know how to read them.
I plotted a few examples on the chart.
As you can see, it complements a trader's bar chart reading skills nicely if applied correctly.
Hope you can find it of use.
Cheers,
Ivan.
R.E.Signal V2.0: Improved Tim West inspired codeHi, this is version 2.0 of the Range Expansion Signal indicator, now including inside and outside bars.
I'm looking forward to tradingview to include other price feeds, since I'd love to trade FX from this site.
Cheers,
Ivan.
R.E.Signal: Incredibly useful scriptI coded this one using Tim West's concept of range expansion bars.
It's a nice addition to switch back and forth when using his UDIO bars from the Key Hidden Levels indicator pack to analyze price action on a bar by bar basis.
The indicator plots a red or green bar signaling strong buying on selling, which almost always implies continuation, or a good chance to fade any retracements after said bars.
Cheers,
Ivan.