Georgeencrypted

StrategyTOstudy LongGorila [CODE WITHOUT PYRAMIDING]

Georgeencrypted 已更新   
This code is fofr you to change it and transform a strategy into a study and avoid pyramiding just by editting this lines

longcondition= buy_entry and buy_zone
shortcondition= sell_entry and sell_zone

like this

longcondition= 'YOUR CONDITION HERE'
shortcondition= 'YOUR CONDITION HERE'

and using your own conditions

This particular strategy is only as example and not for actual trading, this code is only to be edited an used to transform your strategies into studies to get alerts
版本注释:
//The objective of this code is to transforma a strategy into a study and avoid pyramiding. You only have to copy the srategy code into the first part and
//modify the "entry and exit definitions" with your own from your strategy

//This is a code for taking long and short positions and so the closing code. If you want to work in a buy/sell scenario this is not going to work as it is
//functions declared are only as an examble and doesnt give a good result for actual trading
版本注释:
Update for easy of use
版本注释:
just variables
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?