OPEN-SOURCE SCRIPT
P-Signal Strategy RVS.

For Christmas and New Year,
for P-Signal users - the PINE code of a reverse (trigger) strategy!
Strategy parameters.
==================
1. Cardinality – the number of points (from 4 to 200) that make up a set of elementary events (bar). This is the main parameter that determines success.
2. |ΔErf| - a size of the Δ region (from 0 to 1) of the error integral near zero. Helps save on commissions.
3. Observation time – the deputy speaks for himself.
NB: In the strategy, process_orders_on_close = true, order executes after a bar closes and strategy calculations are completed. Also Barstate.isconfirmed, i.e. the script is calculating the last (closing) update of the current bar.
Usage advice.
============
Set your exchange commission (0.2% by default). Start your search by increasing the parameter Cardinality. If in the Performance Summary two parameters Net Profit and Commission Paid are of the same sign and order, you are in luck, you have found a suitable probabilistic space. Further, you can reduce the losses from the commission using the parameter |ΔErf|.
Do not forget to publish the idea, for example: P-Signal Strategy RVS: BTCUSDT 1h (16, 0.05).
Note.
=====
P-signal is theoretical. It works in a probabilistic space endowed with energy (entropy).
for P-Signal users - the PINE code of a reverse (trigger) strategy!
Strategy parameters.
==================
1. Cardinality – the number of points (from 4 to 200) that make up a set of elementary events (bar). This is the main parameter that determines success.
2. |ΔErf| - a size of the Δ region (from 0 to 1) of the error integral near zero. Helps save on commissions.
3. Observation time – the deputy speaks for himself.
NB: In the strategy, process_orders_on_close = true, order executes after a bar closes and strategy calculations are completed. Also Barstate.isconfirmed, i.e. the script is calculating the last (closing) update of the current bar.
Usage advice.
============
Set your exchange commission (0.2% by default). Start your search by increasing the parameter Cardinality. If in the Performance Summary two parameters Net Profit and Commission Paid are of the same sign and order, you are in luck, you have found a suitable probabilistic space. Further, you can reduce the losses from the commission using the parameter |ΔErf|.
Do not forget to publish the idea, for example: P-Signal Strategy RVS: BTCUSDT 1h (16, 0.05).
Note.
=====
P-signal is theoretical. It works in a probabilistic space endowed with energy (entropy).
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。