diff --git a/Projects/Superalgos/Schemas/Docs-Topics/masters-data-mine-003-candles-volumes.json b/Projects/Superalgos/Schemas/Docs-Topics/masters-data-mine-003-candles-volumes.json index 4b4b7024b..e7dd43a72 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/masters-data-mine-003-candles-volumes.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/masters-data-mine-003-candles-volumes.json @@ -38,6 +38,10 @@ "text": "GIFs/Superalgos/Docs/indicators/masters-bots-layers-01-volumes.gif", "updated": 1610399087669 }, + { + "style": "Anchor", + "text": "Products & Properties" + }, { "style": "Title", "text": "Products & Properties" diff --git a/Projects/Superalgos/Schemas/Docs-Topics/trading-logic-002-syntax-overview.json b/Projects/Superalgos/Schemas/Docs-Topics/trading-logic-002-syntax-overview.json index 717fbecc0..f34a62463 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/trading-logic-002-syntax-overview.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/trading-logic-002-syntax-overview.json @@ -128,7 +128,8 @@ }, { "style": "Javascript", - "text": "chart.at + time frame + .productName + .previous.previous... ...previous + .propertyName" + "text": "chart.at + time frame + .productName + .previous.previous... \n...previous + .propertyName", + "updated": 1610471423898 }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-024-tutorial-step- set up the first condition.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-024-tutorial-step- set up the first condition.json index 33a39fc04..fffe7f474 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-024-tutorial-step- set up the first condition.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-024-tutorial-step- set up the first condition.json @@ -16,7 +16,16 @@ }, { "style": "Text", - "text": "Follow the structure of nodes under the Situation and get to the Javascript Code node under the Condition node. Click Edit on the menu, select and delete the placeholder text, and paste the below condition:

chart.at24hs.bollingerSubChannel.direction === 'Down'

Label the condition node 24H Down to have a quick reference of what the condition is about." + "text": "Follow the structure of nodes under the Situation and get to the Javascript Code node under the Condition node. Click Edit on the menu, select and delete the placeholder text, and paste the below condition:", + "updated": 1610469943553 + }, + { + "style": "Javascript", + "text": "chart.at24hs.bollingerSubChannel.direction === 'Down'" + }, + { + "style": "Text", + "text": "Label the condition node 24H Down to have a quick reference of what the condition is about." } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-025-tutorial-step- now the second condition.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-025-tutorial-step- now the second condition.json index bbd6feb2a..7c07b936d 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-025-tutorial-step- now the second condition.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-025-tutorial-step- now the second condition.json @@ -11,7 +11,7 @@ }, "paragraphs": [ { - "style": "Text", + "style": "Javascript", "text": "chart.at24hs.bollingerSubChannel.slope != 'Side'" }, { @@ -20,7 +20,8 @@ }, { "style": "Note", - "text": "We could have chosen to write the two conditions in one by using the && operator. After all, we want the Trigger On Event to validate true when both conditions are true, right? I'll tell you why that is not a good idea in the next step!" + "text": "We could have chosen to write the two conditions in one by using the && operator. I'll tell you why that is not a good idea in the next step!", + "updated": 1610470019656 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-027-tutorial-step- trigger off event.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-027-tutorial-step- trigger off event.json index e4c8881b0..efc190011 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-027-tutorial-step- trigger off event.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-027-tutorial-step- trigger off event.json @@ -12,15 +12,18 @@ "paragraphs": [ { "style": "Text", - "text": "Well... this is a bit of a no-brainer right? We don't want to trade with this strategy when there is no downtrend. So, we'll reverse the logic of the trigger on event!" + "text": "We don't want to trade with this strategy when there is no downtrend. So, we'll reverse the logic of the trigger on event! Find conditions 1 and 2 below:", + "updated": 1610470163153 }, { - "style": "List", - "text": "Condition 1: chart.at24hs.bollingerSubChannel.direction === 'Up'" + "style": "Javascript", + "text": "chart.at24hs.bollingerSubChannel.direction === 'Up'", + "updated": 1610470169627 }, { - "style": "List", - "text": "Condition 2: chart.at24hs.bollingerSubChannel.slope === 'Side'" + "style": "Javascript", + "text": "chart.at24hs.bollingerSubChannel.slope === 'Side'", + "updated": 1610470175519 }, { "style": "Text", diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-029-tutorial-step- separate situations.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-029-tutorial-step- separate situations.json index e32869331..b03845b08 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-029-tutorial-step- separate situations.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-029-tutorial-step- separate situations.json @@ -12,15 +12,21 @@ "paragraphs": [ { "style": "Text", - "text": "We will set up each of the conditions in separate situations!" + "text": "We will set up each condition in separate situation!", + "updated": 1610470622189 }, { "style": "Callout", "text": "Set up the first condition in the existing situation, and the second condition in a new situation!" }, { - "style": "Text", - "text": "Condition 1:
chart.at24hs.bollingerSubChannel.direction === 'Up'
Condition 2:
chart.at24hs.bollingerSubChannel.slope === 'Side'" + "style": "Javascript", + "text": "chart.at24hs.bollingerSubChannel.direction === 'Up'", + "updated": 1610470580629 + }, + { + "style": "Javascript", + "text": "chart.at24hs.bollingerSubChannel.slope === 'Side'" } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-059-tutorial-step- lets break it down.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-059-tutorial-step- lets break it down.json index 9cc95ab2a..da1629f09 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-059-tutorial-step- lets break it down.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-059-tutorial-step- lets break it down.json @@ -12,19 +12,31 @@ "paragraphs": [ { "style": "List", - "text": "Remember, time goes first: in the 1H chart!
chart.at01hs." + "text": "Remember, time goes first: in the 1H chart! ", + "updated": 1610470932699 + }, + { + "style": "Javascript", + "text": "chart.at01hs." }, { "style": "List", - "text": "The close of the candle:
candle.close" + "text": "The close of the candle is lesser than: ", + "updated": 1610470968732 + }, + { + "style": "Javascript", + "text": "candle.close <" }, { "style": "List", - "text": "Is lesser than:
<" + "text": "The moving average minus the deviation, with a time frame defined for every statement:", + "updated": 1610471073502 }, { - "style": "List", - "text": "The moving average minus the deviation, and remember you need to define a time frame for every statement:
chart.at01hs.bollingerBand.movingAverage - chart.at01hs.bollingerBand.deviation" + "style": "Javascript", + "text": "chart.at01hs.bollingerBand.movingAverage - \nchart.at01hs.bollingerBand.deviation", + "updated": 1610471042788 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-060-tutorial-step- lets define it.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-060-tutorial-step- lets define it.json index 879e7513e..114d775c6 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-060-tutorial-step- lets define it.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-060-tutorial-step- lets define it.json @@ -11,16 +11,19 @@ }, "paragraphs": [ { - "style": "Text", - "text": "The complete statement:
chart.at01hs.candle.close < chart.at01hs.bollingerBand.movingAverage - chart.at01hs.bollingerBand.deviation" + "style": "Javascript", + "text": "chart.at01hs.candle.close < \nchart.at01hs.bollingerBand.movingAverage - \nchart.at01hs.bollingerBand.deviation", + "updated": 1610471254569 }, { "style": "Callout", - "text": "Copy and paste the statement in the Javascript Code node!" + "text": "Copy and paste the statement!", + "updated": 1610471298083 }, { "style": "Success", - "text": "Remember to give the condition a descriptive name, for example, 1H Breakdown." + "text": "Remember to give the condition a descriptive name! 1H Breakdown?", + "updated": 1610471356372 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-062-tutorial-step- the previous close.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-062-tutorial-step- the previous close.json index da2904033..59fb1be37 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-062-tutorial-step- the previous close.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-062-tutorial-step- the previous close.json @@ -12,11 +12,18 @@ "paragraphs": [ { "style": "Text", - "text": "To describe the close of the previous candle, we need to use the previous property to modify each property of each indicator used on both sides of the statement:
chart.at01hs.candle.previous.close < chart.at01hs.bollingerBand.
previous.movingAverage - chart.at01hs.bollingerBand.
previous.deviation" + "text": "To describe the close of the previous candle, we need to use the previous property to modify each property of each indicator used on both sides of the statement:", + "updated": 1610471485501 }, { - "style": "Text", - "text": "Create a new condition under the same situation and use the code above! Before you do that, notice that I introduced a couple of breaks in the statements after bollingerBand. just to have them fit the screen. You must remove them so that they don't cause trouble!" + "style": "Javascript", + "text": "chart.at01hs.candle.previous.close < \nchart.at01hs.bollingerBand.previous.movingAverage - \nchart.at01hs.bollingerBand.previous.deviation", + "updated": 1610471501818 + }, + { + "style": "Callout", + "text": "Create a new condition under the same situation and use the code above!", + "updated": 1610471548093 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-063-tutorial-step- the previous property.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-063-tutorial-step- the previous property.json index 09f04de5d..3e6b28613 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-063-tutorial-step- the previous property.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-063-tutorial-step- the previous property.json @@ -11,12 +11,19 @@ }, "paragraphs": [ { - "style": "Text", - "text": "I just wanted to clarify that such use is not mandatory! You may use the previous property on the statements of your choice. In our case, we need to compare the close of the candle, with the difference of the moving average and the deviation of the same candle! That is why we apply it to all statements!" + "style": "Note", + "text": "But such use is not mandatory! You may use the previous property as you wish. We need to compare the close of the candle with the moving average and the deviation of the same candle! That is why we apply it to all statements!", + "updated": 1610471797965 }, { "style": "Text", - "text": "But you may, for instance, want to compare the close of the current candle to the close of the previous candle! In such a case, you may build a statement as follows:

chart.at01hs.candle.close > chart.at01hs.candle.previous.close" + "text": "But you may, for instance, want to compare the close of the current candle to the close of the previous candle:", + "updated": 1610471869420 + }, + { + "style": "Javascript", + "text": "chart.at01hs.candle.close > \nchart.at01hs.candle.previous.close", + "updated": 1610471621224 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-074-tutorial-step- are errors gone.json b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-074-tutorial-step- are errors gone.json index ba0b5c5a9..1590cd6be 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-074-tutorial-step- are errors gone.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/3.-testing-a-trading-idea-the-trigger-stage-074-tutorial-step- are errors gone.json @@ -20,7 +20,8 @@ }, { "style": "Text", - "text": "This happens because as soon as the strategy closes, the bot goes back to evaluating the Trigger On Event! That is what it usually does after a position is closed... look for more trading opportunities! This behavior is part of the normal functioning of the system, and a consequence of not defining the open, close, and manage stages." + "text": "This happens because as soon as the strategy closes, the bot goes back to evaluating the Trigger On Event. That is what it usually does after a position is closed... look for more trading opportunities! This behavior is part of the normal functioning of the system, and a consequence of not defining the open, close, and manage stages.", + "updated": 1610471951252 } ] } \ No newline at end of file