PROTECTED SOURCE SCRIPT

NOVO ALGO - Starry Sky

Telah dikemas kini
General Description:
This indicator provides the possible buy and sell entry with the estimated risk and its corresponding Stop Loss (SL) value.
It has originally developed for 1-min chart and works the best on this time-frame. It may work on the other time-frames, but its profitability has not been checked. So, I would rather recommend to use and apply it only on 1-min chart.

Novelty of the indicator:
Trading in 1-min chart consists of dealing with so many small swings and price variations which are very local and does not affect the general trend even in the 5-min time frame.
We call these small price variations and swings 'Noise'.

The novelty of the indicator is in a parameter which we call the Noise Level and filtering length.
It has been widely used in the Fluid Dynamics and in the Large Eddy Simulations where small noises of flow is removed by a dynamic filter.
In this indicator, we have tried to incorporate the same idea but in the price trend detection.

For the current version, we have used a less tolerance for noise level which results in much less signals compared to the full capacity of the indicator. It roughly sends out around 10-15% of the total confirmed positions.

How it detects the entry positions
To define the entry point, 5 main properties are considered and checked at 3 main time frames including 1-min, 5-min, and 15-min.
These time-frames are selected based on the fact that the target chart is in 1-min.

The 5 properties evaluated are:
1- Smooth Moving Average
2- Bollinger Band
3- Price Regression
4- Candle Pattern
5- Volume


Detailed Description:
Detect a possible entry by Smooth Moving Average:
- At each time frame, 3 lengths are considered to calculate the price moving average values; i.e. short, medium and long lengths.
- The interaction of these MAs, of course, defines the local trend of the price generally. It also provides an idea about the strength of the trend.
- The information calculated at 1-min time frame triggers the possible buy/sell. However, it waits until getting confirmation from the upper time frame (5-min).
- We use the MAs of 15-min time frame to define the general dominant price trend and stop reverse signals when the trend is fully dominant in one direction.


When a possible entry position is triggered by the MAs, at that very price bar we calculate the noise level.
If the noise level is higher than a certain predefined value, then the signal is rejected. Otherwise the signal gets out.
The threshold we use to define if a signal is noisy or not is normalized so it can be used without any concern at different markets.
We believe the calculations and ideas behind the Noise Level is what makes this indicator unique and practical.

We define the noise level parameter based on the following properties:
1- Smooth Moving Average at upper time frame (basically 15-min):
If a possible signal is against the trend of the upper time-frame, the noise level is increased.
If it is in the direction of the upper time-frame trend, then the noise level is untouched.
As already mentioned, different lengths are used. So, as the length of MA is larger its impact on the noise level is considered higher.

2- Bollinger Band of upper time frames (5-min and 15-min)
We employ bollinger bands to define 4 regions.
1. Above the upper band
2. Between middle and upper band
3. Between Lower and middle bands
4. Below the lower band
Then use these 4 regions along with the candle position and price regression.
For example, if the price regression line and candle position are on the same region of BB, then we assume less possibility for reverse or strong trend.
Consequently, we increase the noise level parameter. On the other hand, if they belong to two different region, we assume more possibility for big price change, and so we lower the noise level.

3- Price Regression
We use average price regression line to filter out very small swings in the price. We have also set a criterion of continuity for the regression line that ensures small price variation and swings are left out and filtered.
This will come with the sot of delay in the confirmation of signal, but we found it very important to remove very small swings of price that, for example, consists of only few bars in 1-min chart.
We have also used the position of the regression line along with the regions defied by BBs to evaluate the strength of a newly detected trend.
As candles will always reach to the regression at some point, if a possible entry is detected and the regression line and candles belong to two different region, we assume a strong price change. But if they belong to the same region, we increase the noise level and will assume that it might be a small swing.

4- Candle Pattern
We assumed several rules for candles shape and prices to define if a price movement is strong or it is just a small swing. For example we expect the price to be increase in the last 2-3 candles if we should call a entry for long position.
These set of self-made rules have been extracted by using the visual inspections of the price movement. This has been done much more advanced for long entry position which has resulted in more long signals by the indicator.

5- Volume
We use volume of trades in 1-min, 5-min, and 15-min to evaluate the strength of the trend. We use both absolute and what we call directional volume! The directional volume is the volume with the sign of the candle. This helps us to know if the reverse trend supported by enough volume or it is just a small swing.
For example, if the directional volume of 1-min can surpass the 5-min directional volume, this indicates to us that the importance of 5-min data and its validity is less. So, more focus will be put on the 1-min volume data and the direction it indicates.


Money Management:
Profit calculation: the profit is calculated based on the user defined leverage (default 100x). The user has the option to change the buy/sell leverages to the desired values.
Risk assessment: The user has the option to adjust the risk of the trades. Then the SL value will be calculated for each trade according to the defined risk value.
If a value of zero is set for the risk, then the indicator will define the local SL of each trade based on the pivot point.
As in 1-min trading, the prices are noise and include several small swings and consequently several minor pivot points, we filtered the pivot points that belong to the super small swings detected by our noise level indicator.


Suggestion
I found it more profitable to make the trades risk-free when their profits passes 10% (with leverage 100x). Then, readjust the TP of trades if the trend is in the direction of the position.
I would recommend to observe the performance of the indicator for a day or two, before actually trading with its signals. This will help to have a better understanding of the leverage and risk you may apply.
Nota Keluaran
Updating the label positioning to be more general.
Nota Keluaran
Updating the max_bar_back value.
Nota Keluaran
Pilot Test.
Nota Keluaran
Fixing the run-time error.
Nota Keluaran
Making it possible to be used in different time frames (still the best performance is on 1min chart).
Adding more option for risk management and SL control.
Nota Keluaran
Update the chart.
Bands and ChannelsBTCUSDChart patternsforecastingforexsignalforexsignalsfreesignalssignalsignalssmartmoneyXAUUSD

Skrip dilindungi

Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian