Auto Range [lovealgotrading]
OVERVIEW:
An indicator that automatically draws a range and generates signals according to changing market conditions. ( This indicator does not REPAINT )
ALGORITHM OF THE INDICATOR:
> When we examine the price, it generally moves in trend only 30 percent of the time and in consolidation 70 percent of the time.
> While the price is consolidating, it creates a range and continues to move within the range until this range is broken, BUT the market conditions are constantly changing and our range levels are expected to change with each new bar. I developed an indicator considering this situation.
> When Range Trading, we determine the high and low levels and we can open trades according to the price's reactions at these levels.
> However, after we draw a range, market conditions constantly change, and opening a transaction without taking into account the changing market conditions is an obstacle to our success.
IMPLEMENTATION DETAILS WITH EXAMPLE:
What kind of algorithm do I use to draw a range automatically?
For example, let's set the Number of line value to 4 and set our Period to 14.
1- Let our highest 4 values be = 100, 110, 120, 130, the average of these values is
2- (100+110+120+130)/4 = 115, in this case our Range High Value becomes 115.
3- Within the period we have determined (we have currently set 14, but you can change it), the price sees the highest level of 140.
4- In this case, our 4 largest levels = 110 120 130 140 and our average becomes (110 + 120 + 130 + 140) / 4 = 125 and the range high Our level changes automatically and becomes 125.
5- Let's take the example below, where we determine our 4 highs within the 14 bars we set and average them, if our high changes, our range high goes up.
>> I tried to draw the change with the red arrow
How does this situation appear on the indicator?
>>> Classic Range Trade and Auto Range Trade <<<
Classical Range Trade:
Auto Range Trade:
SETTINGS PANEL:
Which Signals Are More Important (Example Study)
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Algotrade
Hobbiecode - RSI + Close previous dayThis is a simple strategy that is working well on SPY but also well performing on Mini Futures SP500. The strategy is composed by the followin rules:
1. If RSI(2) is less than 15, then enter at the close.
2. Exit on close if today’s close is higher than yesterday’s high.
If you backtest it on Mini Futures SP500 you will be able to track data from 1993. It is important to select D1 as timeframe.
Please share any comment or idea below.
Have a good trading,
Ramón.