Available translations
loading results
Condition
Conditions are rules within a situation. When all conditions under a situation validate true, then the situation gets validated as well, and the associated event is triggered.
Conditions son reglas dentro de una situación. Cuando todas las condiciones de una situación se validan como verdaderas, la situación también se valida y se activa el evento asociado.
Condition - это правила внутри ситуации. Когда все условия в ситуации проверяются на истинность, ситуация также проверяется, и запускается соответствующее событие.
Koşullar, bir durum içindeki kurallardır. Bir durum altındaki tüm koşullar doğru olduğunda, durum da doğrulanır ve ilgili olay tetiklenir.
Content
Therefore, conditions are used to mathematically describe what needs to happen with the market for a certain action to be taken.
Таким образом, условия используются для математического описания того, что должно произойти с рынком для выполнения определенного действия.
Daher werden Bedingungen verwendet, um mathematisch zu beschreiben, was auf dem Markt geschehen muss, damit eine bestimmte Aktion durchgeführt werden kann.
Bu nedenle, belirli bir eylemin gerçekleştirilmesi için piyasada ne olması gerektiğini matematiksel olarak tanımlayacağınız yer burasıdır.
For example:
Например:
Zum Beispiel:
Situation 1
Ситуация 1
1. Durum
- Condition A:
chart.at01hs.candle.close
>chart.at01hs.bollingerBand.MovingAverage
- Bedingung A:
chart.at01hs.candle.close
>chart.at01hs.bollingerBand.MovingAverage
- Состояние A:
chart.at01hs.candle.close
>chart.at01hs.bollingerBand.MovingAverage
- Koşul A:
chart.at01hs.candle.close
>chart.at01hs.bollingerBand.MovingAverage
Note: This means that the latest candle at the 1 hour chart closed above the Bollinger Bands moving average.
Note: Это означает, что последняя свеча на часовом графике закрылась выше скользящей средней полосы Боллинджера.
Note: Dies bedeutet, dass die letzte Kerze auf dem 1-Stunden-Chart oberhalb des gleitenden Durchschnitts der Bollinger-Bänder geschlossen hat.
Note: Bu, 1 saatlik grafikteki en son mumun Bollinger Bantları hareketli ortalamasının üzerinde kapandığı anlamına gelir.
- Condition B:
chart.at01hs.candle.previous.max
>chart.at01hs.bollingerBand.previous.MovingAverage
- Bedingung B:
chart.at01hs.candle.previous.max
>chart.at01hs.bollingerBand.previous.MovingAverage
- Состояние B:
chart.at01hs.candle.previous.max
>chart.at01hs.bollingerBand.previous.MovingAverage
- Koşul B:
chart.at01hs.candle.previous.max
>chart.at01hs.bollingerBand.previous.MovingAverage
Note: This means that the maximum value of the candle before the last one, was higher than the Bollinger Bands moving average.
Note: Это означает, что максимальное значение свечи перед последней было выше скользящей средней полосы Боллинджера.
Note: Das bedeutet, dass der Höchstwert der vorletzten Kerze über dem gleitenden Durchschnitt der Bollinger-Bänder lag.
Note: Bu, son mumdan önceki mumun maksimum değerinin Bollinger Bantları hareketli ortalamasından daha yüksek olduğu anlamına gelir.
In the example above, conditions A and B are comparison statements that may evaluate either
true
or false
. In the case both would evaluate true
then Situation 1 would be true
as well. В приведенном выше примере условия A и B представляют собой операторы сравнения, которые могут оценивать как
true
, так и false
. В случае, если оба будут оценивать как true
, то ситуация 1 также будет верной. Im obigen Beispiel sind die Bedingungen A und B Vergleichsaussagen, die entweder als
true
oder false
bewertet werden können. Wenn beide wahr werden, wird auch Situation 1 wahr. Yukarıdaki örnekte, A ve B koşulları doğru (
true
) ya da yanlış (false
) olarak değerlendirilebilen karşılaştırma ifadeleridir. Her ikisinin de doğru olarak değerlendirilmesi durumunda Durum 1 de doğru olacaktır. Note: To learn how to write conditions, start with the Syntax Overview.
Note: Чтобы узнать, как писать условия, начните с обзора Syntax Overview.
Note: Um zu lernen, wie man Bedingungen schreibt, beginnen Sie mit der Syntax Overview.
Note: Koşulların nasıl yazılacağını öğrenmek için Sözdizimine Genel Bakış (Syntax Overview) konusuna bakabilirsiniz.
Condition Menu
The Condition node has the following Node Menu items:
The Edit menu item has the following properties:
- action: Edit
- actionFunction:
uiObject.conditionEditor.activate
- label: Edit
- relatedUiObject: Condition
- relatedUiObjectProject: Foundations
The Add Code menu item has the following properties:
- action: Add UI Object
- disableIfPropertyIsDefined: true
- propertyToCheckFor:
javascriptCode
- label: Add Code
- relatedUiObject: Javascript Code
- actionFunction:
payload.executeAction
- actionProject: Visual-Scripting
- relatedUiObjectProject: Foundations
The Fetch from Javascript Code menu item has the following properties:
- action: Fetch Code to Javascript Code
- label: Fetch from Javascript Code
- relatedUiObject: Javascript Code
- actionFunction:
payload.executeAction
- relatedUiObjectProject: Foundations
The Push to Javascript Code menu item has the following properties:
- action: Push Code to Javascript Code
- label: Push to Javascript Code
- relatedUiObject: Javascript Code
- actionFunction:
payload.executeAction
- relatedUiObjectProject: Foundations
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 Condition already has the required child type that the menu item may add, and only that child is allowed for that case.
Condition Children
The Condition node has the following childrenNodesProperties:
The Javascript Code node property features the following properties:
- name:
javascriptCode
- type: node
- childType: Javascript Code
- autoAdd: true
Condition Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Condition with other nodes:
Compatible Types: