Seltzer_

TEMA Cross +HTF Backtest

This is a follow up to a previous script release called "TEMA Cross Backtest".

This new strategy uses two TEMA crosses, one for trend direction, one for entry and exit. The entry and exit parameters are the same as the previous script. The trend direction is based on a user configurable higher timeframe TEMA cross which determines when to take longs or shorts. When the indicator is purple, it is looking for shorts, and when it is yellow, it is looking for longs. The background of the chart is colored accordingly to see the trend direction at a glance.

The default settings are the ones I have found produce the highest backtest results. The backtest is set by default to use a $500 account, and use $500 for every entry and exit, no matter the direction or overall profit/loss.

Parts of script borrowed from other public scripts.

릴리즈 노트: Remove repaint using code from
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

코멘트

Hi, repaint signals whith htf resolution ?
응답
Seltzer_ atoronjo
@atoronjo, I don't think so. I added the barmerge commands, which I read eliminate or reduce repainting. I could be wrong though.
응답
@Seltzer_, No. The HTF MA repaints, look after each candle close, and look at bar replay mode.
응답
Seltzer_ CommanderShepard
@CommanderShepard, yes, i see now. I've updated the script with code snippets from PineCoders to remove repaint.
응답
atoronjo Seltzer_
@Seltzer_, Good job, thanks for share.
응답
this is not bad at all. good job.
응답