TradingView
alsatTR
3 Th11 2020 09:02

Pivot STRTGY_V1 

Ethereum / TetherUSBinance

Mô tả

This Strategy operates on a Daily Time Frame and decisions are made based on monthly Pivot Points.
Choosing different time frames and pivot periods influences trading decisions and is not recommended


The script contains the following calculations:
-Pivot Points,
-Short and long term moving averages (sma, ema, getting),
-Bollinger bands,
-Trend following


  • The strategy aims to keep the asset profitable for as long as possible by predicting the turning points of the price.
    Therefore, it is not suitable for day-trade.
    Average holding period of assets is 15-20 days.
    The script makes decisions to buy or sell when the price is above or below the determined averages and pivot points.
    In this way, it follows the trend and aims for maximum profit.
    It continuously makes calculations for the distortion conditions of the trend and generates orders to exit the position when the necessary conditions are met to stop the loss.

Phát hành các Ghi chú

Backtest Start Date switched from 2020 to 2017 to show long term trade results.

Phát hành các Ghi chú

Better backtest results with some new Entry - Exit point formulas.

Phát hành các Ghi chú

New trade conditions added.

Phát hành các Ghi chú

New Long Term Moving Averages and buy and sell conditions added.
Yearly OHLC and Pivots added.

Phát hành các Ghi chú

Improved trend following formulas.
Less transaction and better percent profitable.

Phát hành các Ghi chú

"Bull-Trap Stop" added for better results.

Phát hành các Ghi chú

New Long and Short signals added.

Phát hành các Ghi chú

Signal Labels changed X for position close.

Phát hành các Ghi chú

Strenghtened Short Position conditions.
Sustainability corrections.

Phát hành các Ghi chú

*Roll back to version 9

Phát hành các Ghi chú

Better trading results achieved.

Phát hành các Ghi chú

* Trade signals are visible only when Monthly Pivot selected.
* Some trade conditions are changed.

Phát hành các Ghi chú

Bug fix on Long4 condition.

Phát hành các Ghi chú

Minor condition changes.

Phát hành các Ghi chú

Script creates Long, short, close long, close short signals only on daily period and monthly pivots.

Phát hành các Ghi chú

Little changes

Phát hành các Ghi chú

Reduced some risks.

Phát hành các Ghi chú

New Long Condition L9
Ema50 line added.

Phát hành các Ghi chú

Fine Tuning...

Phát hành các Ghi chú

* Anti- Repainting corrections made.

Phát hành các Ghi chú

Little Fixes in L9

Phát hành các Ghi chú

Visiblity problem of the Pivot Lines on the lower timeframes solved.
Max_bar_back corrections applied.

Phát hành các Ghi chú

New ema20 powered L10 signal added.

Phát hành các Ghi chú

Average lines are visible now.

Phát hành các Ghi chú

Better trading performance.

Phát hành các Ghi chú

*Fine Tuning
Bình luận
ThaoK
error
alsatTR
@tranvbt, What kind of error you faced with?
immediateIguan41386
I like this script!
1. However, how come it only gives signals from January 11 2020? I'd like to see how it would have performed earlier than that.
2. Have you tested if it repaints (aka has any security feature in the code)?
alsatTR
@immediateIguan41386,
Hello.
You can change backtest start and end dates from the settings.
Script is trying to catch the trend up & down and when it cathes trying to maximize the profit.
No repainting, no cheats.
And also trading is a never ending learning process.
Some coins and instruments are underperforming and ıt's all about the algoritm of the market makers use.
You should search and find the correct intruments fits best with the script.
immediateIguan41386
@alsatTR, Not meant to insult in any way ;) was just curious since if it's a good strategy people might actually use it and risk their money, including myself. Looks good so far!
alsatTR
@immediateIguan41386,
I hope it'll be better. There are some decisions need a stop point. But when you reduce risks, gains reduce too. 😂 A never ending war...
alsatTR
@immediateIguan41386,
I used security features (12M OHLC) only to calculate Yearly Pivot to decide trend direction.
Example
yh = security(syminfo.tickerid, '12M', high)
yl = security(syminfo.tickerid, '12M', low)
Thêm nữa