TradingView
capissimo
25 мар 2021 г., 11:11

Anti-Breakout Strategy 

Australian Dollar/Japanese YenFXCM

Описание

Anti-Breakout Strategy

Description:

This is a contrarian entry strategy for trading false breakouts. The high/low of the breakout bar is used for the entry in the opposite direction.

To reduce repainting set ptype variable to OHL3.

Информация о релизе

Added Doji module.

Информация о релизе

Fixed the volumeBreak function.

Информация о релизе

Minor fix.

Информация о релизе

Minor fix. Modified the Notification section.
Комментарии
kdiddydawgy
Mind taking a look at my post below - struggling with syntax :)
capissimo
pleasantCardin94082
Nice Script
capissimo
@pleasantCardin94082, thx for the support)
capissimo
CoinDigger
Nice script.
One note. To calculate the Win Rate, you should use the close value of the candle, not the open, because the signal is given at the closing of the candle.
If you change line 119 to "float bidask = ubase ? (open+high+low)/3 : close" and use the option "Use Base Price?" as false, then the info box should give you result more close to reality.
capissimo
@CoinDigger, thx for your comment, but i did it intentionally to rely on the data that is not mutable by the time i check it.
CoinDigger
@capissimo, ohh, ok, got it ;)
VictorS-
For bitcoin trading what do you recommend close or OHL3?
Spaydz
do these repaint?
Ещё