Available translations







loading results
Time Frame
The time frame determines the collection of candles to be analyzed during a backtesting session, and the frequency with which the trading bot runs on paper trading, forward testing, and live trading sessions.
El time frame determina la colección de velas que se analizarán durante una sesión de backtesting y la frecuencia con la que el robot comercial se ejecuta en papel trading, forward testing, y live trading sessions.
Time Frame определяют набор свечей, которые будут проанализированы во время сеанса тестирования на истории, и частоту, с которой торговый бот запускает торговлю на бумаге, форвард-тестирование и торговые сессии в реальном времени.
Zaman dilimi, bir geri test oturumu sırasında analiz edilecek mum koleksiyonunu ve ticaret botunun kağıt ticareti, Forward tTst ve canlı ticaret oturumlarında çalışma sıklığını belirler.
Content
In Live Sessions
В живых сессиях
Canlı Oturumlar
In the context of live sessions, that is, paper trading, forward testing, and live trading, you may want to run the session on the 01-min time frame so that the trading bot reacts fast when the price tags the take profit or stop loss targets.
В контексте живых сессий, то есть бумажной торговли, форвард-тестирования и живой торговли, вы можете захотеть запустить сессию на 01-минутном таймфрейме, чтобы торговый бот быстро реагировал, когда цена пересекает цели тейк-профита или стоп-лосса.
Canlı seanslar, yani Paper Trade, Forward Test ve canlı ticaret bağlamında, seansı 01 dakikalık zaman diliminde çalıştırmak isteyebilirsiniz, böylece fiyat kar alma veya zararı durdurma hedeflerini etiketlediğinde ticaret botu hızlı tepki verir.
Important: Remember that Superalgos does not place stop or take profit orders at the time of entering the position. Instead, the trading bot checks the current price upon each execution Cycle and determines whether Managed Stop Loss or Managed Take Profit targets have been hit or not. If targets are hit, the Close Stage opens and orders are placed on the next cycle, which happens to be on the next candle.
Important: Помните, что Superalgos не размещает стоп-приказы или приказы о фиксации прибыли во время входа в позицию. Вместо этого торговый бот проверяет текущую цену в каждом цикле исполнения и определяет, были ли достигнуты цели по управляемому стоп-лоссу Managed Stop Loss или управляемому тейк-профиту Managed Take Profit. Если цели поражены, открывается стадия закрытия Close Stage, и ордера размещаются в следующем цикле, который происходит на следующей свече.
Important: Superalgos'un pozisyona girerken durdurma veya kar alma emirleri vermediğini unutmayın. Bunun yerine, ticaret botu her yürütme Döngüsünde (Cycle) mevcut fiyatı kontrol eder ve Yönetilen Zararı Durdur (Managed Stop Loss) veya Yönetilen Kâr Al (Managed Take Profit) hedeflerine ulaşılıp ulaşılmadığını belirler. Hedeflere ulaşılırsa, Kapanış Aşaması (Close Stage) açılır ve emirler bir sonraki mumda verilir.
If for whatever reason you don't need to minimize the potential for slippage when hitting stop or take profit targets, you may choose whatever time frame you like, taking into account the explanations below.
Если по каким-либо причинам вам не нужно минимизировать возможность проскальзывания при достижении целей стоп или тейк-профит, вы можете выбрать любой таймфрейм, который вам нравится, с учетом пояснений, приведенных ниже.
Herhangi bir nedenle durdurma veya kar alma hedeflerine ulaşırken kayma (Slippage) potansiyelini en aza indirmeniz gerekmiyorsa, aşağıdaki açıklamaları dikkate alarak istediğiniz zaman dilimini seçebilirsiniz.
In Backtesting Sessions
В сеансах бэктестинга
Backtesting Seanslarında
In the context of backtesting sessions, what time frame you decide to run the session depends on the trading system being tested. If the trading system makes decisions based on the 1-hour candle and above, then 01-hs may be the best choice. However, if decisions are influenced by sub-hour candles then you should match the time frame accordingly.
В контексте бэктестинга сессий, то, на каком таймфрейме вы решите проводить сессию, зависит от тестируемой торговой системы. Если торговая система принимает решения на основе 1-часовой свечи и выше, то лучшим выбором может быть 01-hs. Однако если на решения влияют субчасовые свечи, то следует подобрать соответствующий таймфрейм.
Geriye dönük test seansları bağlamında, seansı hangi zaman diliminde çalıştırmaya karar vereceğiniz test edilen yatırım sistemine bağlıdır. Alım satım sistemi 1 saatlik mum ve üzerini temel alarak karar veriyorsa, 01-hs en iyi seçim olabilir. Ancak, kararlar bir saatin altındaki mumlardan etkileniyorsa, zaman dilimini buna göre eşleştirmelisiniz.
In other words, in backtesting sessions, you should match the time frame to the smallest period on which the trading system makes decisions.
Другими словами, в сеансах тестирования на истории вы должны сопоставить таймфрейм с наименьшим периодом, в течение которого торговая система принимает решения.
Başka bir deyişle, geriye dönük test seanslarında, zaman dilimini ticaret sisteminin karar verdiği en küçük dönemle eşleştirmelisiniz.
Important: The above, however, is only partially correct. Setting the time frame to match the decision-making criteria of the Trading System is desirable to save time in backtests. You save time because the smallest reasonable collection of candles is evaluated. However, the time-saving may come at the cost of precision!
Important: Однако вышесказанное верно лишь отчасти. Установка таймфрейма в соответствии с критериями принятия решений торговой системы желательна для экономии времени при тестировании на истории. Вы экономите время, потому что оценивается наименьший разумный набор свечей. Однако экономия времени может быть достигнута за счет точности!
Important: Ancak yukarıda belirtilenler sadece kısmen doğrudur. Zaman çerçevesini Ticaret Sisteminin karar verme kriterlerine uyacak şekilde ayarlamak, geriye dönük testlerde zaman kazanmak için arzu edilir. Zamandan tasarruf edersiniz çünkü makul olan en küçük mum koleksiyonu değerlendirilir. Ancak, zamandan tasarruf etme isteğiniz hassasiyetten vazgeçmenizi gerektirir.Kısaca Daha uzun zaman dilimlerinde yapacağınız Back Testler daha küçük zaman dilimlerinde yapacağınız Back Teslerden daha kısa sürer, ama hassasiyetinizden vazgeçmiş olursunuz.
Remember what was said about stop loss and take profit orders earlier: they do not exist in Superalgos. When a target is hit, orders are placed in the following Cycle, which happens to be on the next candle!
Вспомните, что было сказано ранее об ордерах стоп-лосс и тейк-профит: их нет в Superalgos. Когда цель достигнута, ордеры размещаются в следующем цикле Cycle, который происходит на следующей свече!
Daha önce zararı durdur ve kar al emirleri hakkında söylenenleri hatırlayın: bunlar Superalgos'ta mevcut değildir. Bir hedefe ulaşıldığında, siparişler bir sonraki mumda, Döngüde (Cycle) verilir!
Let's take a minute to reflect on the implications of the above! If targets are hit on one candle and orders are placed on the next candle, there is the potential for huge Slippage if the session is run on higher time frames! This is the cost in precision mentioned earlier.
Давайте на минутку поразмышляем над последствиями вышеизложенного! Если цели достигаются на одной свече, а ордера размещаются на следующей свече, существует вероятность огромного проскальзывания, если сессия проводится на более высоких таймфреймах! Это стоимость точности, о которой говорилось ранее.
Bir dakika durup yukarıdakilerin sonuçları üzerinde düşünelim! Hedefler bir mumda gerçekleşirse ve siparişler bir sonraki mumda veriliyorsa, seans daha yüksek zaman dilimlerinde çalıştırıldığında büyük Kayma (Slippage) potansiyeli vardır! Bu, daha önce bahsedilen hassasiyetin maliyetidir.
The above explanation seems to point in the following direction: if you want backtesting simulations to be comparable to live sessions run on the 01-min time frame, then you should run the backtesting session on the 01-min time frame as well. There is, however, a workaround.
Приведенное выше объяснение, похоже, указывает в следующем направлении: если вы хотите, чтобы симуляции бэктестинга были сопоставимы с живыми сессиями, запущенными на 01-минутном таймфрейме, тогда вы должны запустить сессию бэктестинга также на 01-минутном таймфрейме. Однако существует обходной путь.
Yukarıdaki açıklama şunu ifade eder: Geriye dönük test simülasyonlarının 01 dakikalık zaman diliminde çalıştırılan canlı oturumlarla karşılaştırılabilir olmasını istiyorsanız, geriye dönük test oturumunu 01 dakikalık zaman diliminde de çalıştırmalısınız. Bununla birlikte, bir geçici çözüm vardır.
Workaround
Обходное решение
Geçici Çözüm
You may use the Simulated Exchange Events structure of nodes to arbitrarily define the exit rate of the position.
Вы можете использовать структуру узлов Simulated Exchange Events для произвольного определения ценового уровня для выхода из позиции.
Pozisyonun çıkış oranını keyfi olarak tanımlamak için düğümlerin Simüle Edilmiş Borsa Olayları (Simulated Exchange Events) yapısını kullanabilirsiniz.
For example, you may use the following formula in the Simulated Actual Rate node as well as in the Target Rate of the Close Stage:
Например, вы можете использовать следующую формулу в узле Simulated Actual Rate, а также в Target Rate на стадии Close Stage:
Örneğin, aşağıdaki formülü Simüle Edilmiş Gerçek Oran (Simulated Actual Rate)düğümünün yanı sıra Kapanış Aşamasının (Close Stage) Hedef Oranında da (Target Rate) kullanabilirsiniz:
targetRate()
function targetRate() {
switch (tradingEngine.tradingCurrent.position.exitType.value) {
case 'No Exit': {
return tradingEngine.tradingCurrent.tradingEpisode.candle.close.value
break
}
case 'Take Profit': {
return tradingEngine.tradingCurrent.position.takeProfit.finalValue.value
break
}
case 'Stop Loss': {
return tradingEngine.tradingCurrent.position.stopLoss.finalValue.value
break
}
}
} The formula sets the Simulated Actual Rate to be the last known
takeProfit rate if the exit was triggered by hitting of the Managed Take Profit, or the last known stopLoss in case it was the Managed Stop Loss target. Формула устанавливает Simulated Actual Rate как последнюю известную ставку тейк-профита, если выход был вызван достижением управляемого тейк-профита Managed Take Profit, или последнего известного стоп-лосса, если это был управляемый стоп-лосс Managed Stop Loss цели.
Formül, çıkış Yönetilen Kâr Al (Managed Take Profit) hedefine ulaşılmasıyla tetiklenmişse Simüle Edilmiş Gerçek Oranı (Simulated Actual Rate) bilinen son kâr alma oranı veya Yönetilen Zararı Durdur (Managed Stop Loss) hedefi olması durumunda bilinen son zararı durdur oranı olarak ayarlar.
Why the Time Frame Matters
Почему так важен таймфрейм
Zaman Dilimi Neden Önemlidir?
Running trading sessions of any given trading system on different time frames may produce different results. This is because the behavior of a trading session may vary depending on how well the time frame matches the logic of the strategy.
Проведение торговых сессий любой торговой системы на разных таймфреймах может дать разные результаты. Это связано с тем, что поведение торговой сессии может варьироваться в зависимости от того, насколько хорошо таймфрейм соответствуют логике стратегии.
Herhangi bir alım satım sisteminin alım satım seanslarını farklı zaman dilimlerinde çalıştırmak farklı sonuçlar üretebilir. Bunun nedeni, bir ticaret seansının davranışının, zaman çerçevesinin stratejinin mantığına ne kadar iyi uyduğuna bağlı olarak değişebilmesidir.
The trading bot evaluates closed candles only. At any given point in time, the current candle in each time frame is the candle that closed last.
Торговый бот оценивает только закрытые свечи. В любой момент времени текущая свеча в каждом таймфрейме - это свеча, которая закрылась последней.
Ticaret botu yalnızca kapalı mumları değerlendirir. Zamanın herhangi bir noktasında, her zaman dilimindeki mevcut mum, en son kapanan mumdur.
For example, let's say it's 11 hours, 39 minutes and 30 seconds of June 11th, 2020. This is how the system determines which is the current candle:
Например, предположим, что это 11 часов 39 минут и 30 секунд 11 июня 2020 года. Вот как система определяет текущую свечу:
Örneğin, 11 Haziran 2020'de saatin 11:39:30 olduğunu varsayalım. Sistem mevcut mumun hangisi olduğunu bu şekilde belirler:
- 1-minute candle: it is the one that closed at 11:38:59.999.
- 1-минутная свеча: это та, которая закрылась на 11: 38: 59.999.
- 1 dakikalık mum: 11:38:59.999'da kapanan mumdur.
- 5-minute candle: it is the one that closed at 11:34:59.999.
- 5-минутная свеча: это та, которая закрылась на 11:34: 59.999.
- 5 dakikalık mum: 11:34:59.999'da kapanan mumdur.
- 30-minute candle: it is the one that closed at 11:29:59.999.
- 30-минутная свеча: это та, которая закрылась на 11: 29: 59.999.
- 30 dakikalık mum: 11:29:59.999'da kapanan mumdur.
- 1-hour candle: it is the one that closed at 10:59:59.999.
- 1-часовая свеча: это та, которая закрылась на отметке 10: 59: 59.999.
- 1 saatlik mum: 10:59:59.999'da kapanan mumdur.
- 2-hour candle: it is the one that closed at 09:59:59.999.
- 2-часовая свеча: это та, которая закрылась в 09: 59: 59.999.
- 2 saatlik mum: 09:59:59.999'da kapanan mumdur.
- 6-hour candle: it is the one that closed at 05:59:59.999.
- 6-часовая свеча: это та, которая закрылась на 05: 59: 59.999.
- 6 saatlik mum: 05:59:59.999'da kapanan mumdur.
- 24-hour candle: it is the one that closed at 23:59:59.999 of June 10th!
- 24-часовая свеча: это та, которая закрылась в 23: 59: 59.999 10 июня!
- 24 saatlik mum: 10 Haziran 23:59:59.999'da kapanan mumdur!
Let's say the trading system implements conditions that evaluate 30-minute and 1-hour candles.
Допустим, торговая система реализует условия, оценивающие 30-минутные и 1-часовые свечи.
Diyelim ki ticaret sistemi 30 dakikalık ve 1 saatlik mumları değerlendiren koşullar uyguluyor.
If a session is run at the 30-minutes time frame, all 30-minutes candles are evaluated. Also, all 1-hour candles are evaluated twice.
Если сессия проводится на 30-минутном таймфрейме, оцениваются все 30-минутные свечи. Кроме того, все 1-часовые свечи оцениваются дважды.
Bir oturum 30 dakikalık zaman diliminde çalıştırılırsa, 30 dakikalık tüm mumlar değerlendirilir. Yani, tüm 1 saatlik mumlar iki kez değerlendirilir.
However, if the session is run at the 1-hour time frame, only one out of two 30-minute candles are evaluated.
Однако, если сессия проводится на 1-часовом таймфрейме, оценивается только одна из двух 30-минутных свечей.
Ancak, seans 1 saatlik zaman diliminde çalıştırılırsa, 30 dakikalık iki mumdan yalnızca biri, sonuncusu değerlendirilir.
And if the session is run at the 2-hour time frame, only one out of four 30-minute candles and one out of two 1-hour candles are evaluated.
И если сессия проводится на 2-часовом таймфрейме, оценивается только одна из четырех 30-минутных свечей и одна из двух 1-часовых свечей.
Seans 2 saatlik zaman diliminde gerçekleştirilirse, dört 30 dakikalık mumdan yalnızca biri ve iki 1 saatlik mumdan biri değerlendirilir.
This means that running the session (for this particular trading system) at the 30-minute time frame has higher probabilities of conditions evaluating 30-minute candles to be
true during the session. Это означает, что запуск сессии (для данной конкретной торговой системы) на 30-минутном таймфрейме имеет более высокую вероятность того, что условия, оценивающие 30-минутные свечи, будут истинными в течение сессии.
Bu, seansı (bu belirli ticaret sistemi için) 30 dakikalık zaman diliminde çalıştırmanın, seans sırasında 30 dakikalık mumları değerlendiren koşulların doğru (
true) olma olasılığının daha yüksek olduğu anlamına gelir. In other words, when running the session on time frames higher than the time frame on which decisions are made, chances are the bot will eventually skip candles on which conditions would have evaluated true, potentially skipping trading opportunities.
Другими словами, при запуске сеанса на таймфреймах выше, чем таймфреймы, на которых принимаются решения, есть вероятность, что бот в конечном итоге пропустит свечи, на которых условия были бы оценены как истинные, потенциально пропуская торговые возможности.
Başka bir deyişle, oturumu kararların alındığı zaman diliminden daha yüksek zaman dilimlerinde çalıştırırken, botun sonunda koşulların doğru olarak değerlendirileceği mumları atlaması ve potansiyel olarak ticaret fırsatlarını atlaması ihtimali vardır.
The above is
true for all types of trading sessions. Сказанное выше верно для всех типов торговых сессий.
Yukarıdaki bilgi ve kurallar her türlü ticaret şekli için geçerlidir. (Paper trade, Live, Backtest, Forwardtest)
Configuring
Time Frame Configuration
Конфигурация Time Frame
Zaman Dilimi Yapılandırılması
Properties
Özellikler
- value is the setting for the time frame. You may use any of the values below.
- Aşağıdaki değerlerden herhangi birini kullanabilirsiniz.
01-min
02-min
03-min
04-min
05-min
10-min
15-min
20-min
30-min
45-min Available options at larger time frames are:
01-hs
02-hs
03-hs
04-hs
06-hs
08-hs
12-hs
24-hs Initial Values
These are the Initial Values for Time Frame configuration:
{
"label": "01-hs"
} Examples
This is a list of properties featured by the Time Frame configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Time Frame Menu
The Time Frame node has the following Node Menu items:
The Configure menu item has the following properties:
- action: Configure
- label: Configure
- iconPathOn: configuration
- iconPathOff: configuration
- actionFunction:
uiObject.configEditor.activate
The Delete menu item has the following properties:
- action: Delete UI Object
- actionProject: Visual-Scripting
- askConfirmation: true
- confirmationLabel: Confirm to Delete
- label: Delete
- iconPathOn: delete-entity
- iconPathOff: delete-entity
- actionFunction:
payload.executeAction
Tip: When a menu item is grayed out, it means that Time Frame already has the required child type that the menu item may add, and only that child is allowed for that case.
Time Frame Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Time Frame with other nodes:
Compatible Types: