somsbenikeenkat

Ema Backtester

A simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.

tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 ( btc )

I hope you enjoy the script :)
הערות שחרור: Added useful extra option for close function that raises win % but lowers w/l ratio.
Earn free XLM on coinbase: https://coinbase.com/earn/xlm/invite/zdt...
הערות שחרור: Changed a < to >
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
My friend, nice script concept. However, this will "repaint" because you're using "close". You need to use "close" in order to use the close of the previous bar. Otherwise, "close" = price, and price changes until the bar closes.
השב
CryptoGraffer CryptoGraffer
@CryptoGraffer, Hmm, it filtered my response. you need to use close
השב
CryptoGraffer CryptoGraffer
@CryptoGraffer, Weird, it doesn't let us write anything in brackets. It should be close(1) - but replace the parenthesis with square brackets
השב
somsbenikeenkat CryptoGraffer
@CryptoGraffer, Thx man. so the script uses the current close as info (it's valid once the candle closes) and then plots it onto the next open. and then it repaints the exact location up and down with the current price until that candle closes, after that it moves it back to the open. This has to do with tradingview's script i guess. The data is accurate though because it moves back to the open of the first candle the signal was already valid on. Maybe I misunderstood what you mean exactly tho. As far as the brackets go they are used to refference previous candlestick data, e.g.: close is the close value 26 candles before the current close.
השב
somsbenikeenkat somsbenikeenkat
@somsbenikeenkat, ah got the same problem with brackets. Makes alot more sense now. If you were to replace the long function for example with a plotshape function it would plot it 1 period before the strategy plots a buy signal
השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי איך זה עובד‏ תכונות גרף מחירון חוקי הבית מנהלים כלים לאתרים וברוקרים יישומונים פתרונות גרפיים מרכז תמיכה בקשת פונקציה בלוג וחדשות שאלות נפוצות ויקי טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב מטבעות TradingView לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב אחרי... הודעות פרטיות צ'אט התנתק