Sparta and Buddha Data Mines

This commit is contained in:
Julian Molina committed 2021-01-26 12:48:59 +01:00
1 parent d9ce77c4da
commit a2975b1f05
5 files changed
+836

No files matched your search

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 MiB

@@ -0,0 +1,748 @@
{
"topic": "Buddha Data Mine",
"pageNumber": "1",
"type": "Candle Patterns",
"definition": {
"text": "The indicator features a pattern-recognition algorithm classifying candles in multiple groups such as Classic Candles, Marubozu Candles, Spinning Top Candles, Doji Candles, and grouping pattern into on, two, and three-candle sequences.",
"updated": 1611659834188
},
"paragraphs": [
{
"style": "Title",
"text": "Candle Patterns On the Charts",
"updated": 1611659858573
},
{
"style": "Text",
"text": "Before we may identify elaborate candle patterns, basic candles must be defined, grouped, and parameterized. Patterns may be made up of one or more candles. For this reason, the Candle Patterns indicator features a layer for basic candles and a layer for each group of patterns."
},
{
"style": "Success",
"text": "In theory, candle patterns may contribute to predicting price action. In and of itself, the occurrence of a certain pattern may not necessarily be regarded as a signal. However, when combined with other Technical Analysis tools, and when the context is properly considered, candle patterns may provide valuable information.",
"updated": 1611659875005
},
{
"style": "Subtitle",
"text": "Basic Candles"
},
{
"style": "Text",
"text": "The starting point to search for candle patterns is to establish standard criteria to name each candle. Because candles are made up of four prices, this gives rise to a large number of possible combinations. For example, there may be candles with one, two, or without shadows, which may be big or small relative to the body of the candle, which itself may be big or small in relation to other candles, and so on."
},
{
"style": "Text",
"text": "The Basic Candles layer features two blue lines and an orange one."
},
{
"style": "List",
"text": "The blue line in the bottom connects the low price of each candle."
},
{
"style": "List",
"text": "The blue line on top results from averaging the length of the last ten candles and adding it to the low value of the current candle."
},
{
"style": "List",
"text": "The orange line in the middle is calculated by multiplying the distance between the two blue lines by an arbitrary sizeFactor."
},
{
"style": "Gif",
"text": "GIFs/Superalgos/Docs/indicators/buddha-bots-layers-00-basic-candles.gif",
"updated": 1611659943962
},
{
"style": "Text",
"text": "Therefore, the range between the blue lines is said to represent the average length of candles. The orange line in the middle serves to determine if a candle is short or long in relation to other candles. If the high of a candle lies above the orange line, it is said to be a Long candle, otherwise, it is a Short candle."
},
{
"style": "Text",
"text": "The corresponding layer panel features the following properties for each candle:"
},
{
"style": "Table",
"text": "| Indicator Properties | Description |\n| Name | The name of the basic candle. |\n| Size | The relative size of the candle: Short or Long. |\n| Upper Shadow % | The percentage that the upper shadow covers in the total length of the candle. |\n| Body % | The percentage that the body represents in the total length of the candle. |\n| Lower Shadow % | The percentage that the lower shadow represents in the total length of the candle. |\n| Nbodies\tThe number of previous candles used to calculate the body average. |\n| dojiFactor % | A limit to the size of the body expressed as a percentage of the total length for a candle to be considered a doji. |\n| sizeFactor % | A factor used to calculate the orange line, which determines the relative size of candles, expressed as a percentage of the average length of the last few candles. |\n| Nlengths | The number of previous candles used to calculate the average candle lengths. |\n| Average Size Method | The method used to calculate the average of the total lengths of previous candles. |",
"updated": 1611660199319
},
{
"style": "Callout",
"text": "Below is the complete list of basic candles, grouped by families relative to certain characteristics they have in common."
},
{
"style": "Note",
"text": "Generally—in the literature— colors white and black are used to refer to bullish and bearish candles respectively. In our case, white has been changed to green and black to red.",
"updated": 1611660253621
},
{
"style": "Title",
"text": "Classic Candles"
},
{
"style": "Text",
"text": "These candles have the following characteristics in common:"
},
{
"style": "List",
"text": "Both shadows are present."
},
{
"style": "List",
"text": "Each shadow is shorter than the body."
},
{
"style": "List",
"text": "The opening price differs from the closing price."
},
{
"style": "Text",
"text": "According to their particular characteristics, they are named as follows:"
},
{
"style": "Text",
"text": "Representation\tBasic Candle Name\tParticular Characteristics"
},
{
"style": "Text",
"text": "Short-Candle\t"
},
{
"style": "Text",
"text": "“Short Green Candle”"
},
{
"style": "Text",
"text": "“Short Red Candle”\t"
},
{
"style": "Text",
"text": "1. Bullish or Bearish."
},
{
"style": "Text",
"text": "2. Relative Size: Short."
},
{
"style": "Text",
"text": "Candle\t"
},
{
"style": "Text",
"text": "“Green Candle”"
},
{
"style": "Text",
"text": "“Red Candle”\t"
},
{
"style": "Text",
"text": "1. Bullish or Bearish."
},
{
"style": "Text",
"text": "2. Relative Size: Long."
},
{
"style": "Text",
"text": "Long-Candle\t"
},
{
"style": "Text",
"text": "“Long Green Candle”"
},
{
"style": "Text",
"text": "“Long Red Candle”\t"
},
{
"style": "Text",
"text": "1. Bullish or Bearish."
},
{
"style": "Text",
"text": "2. The body is at least three times higher than the average of the previous bodies."
},
{
"style": "Text",
"text": "3. Relative Size: Long."
},
{
"style": "Text",
"text": "Marubozu Candles"
},
{
"style": "Text",
"text": "These candles have the following characteristics in common:"
},
{
"style": "Text",
"text": "Lack of at least one shadow."
},
{
"style": "Text",
"text": "If it has one shadow, it must be shorter than the body."
},
{
"style": "Text",
"text": "The opening price differs from the closing price."
},
{
"style": "Text",
"text": "Relative Size: Short or Long."
},
{
"style": "Text",
"text": "According to their particular characteristics, they are named as follows:"
},
{
"style": "Text",
"text": "Representation\tBasic Candle Name\tParticular Characteristics"
},
{
"style": "Text",
"text": "Marubozu\t"
},
{
"style": "Text",
"text": "“Green Marubozu”"
},
{
"style": "Text",
"text": "“Red Marubozu”\t"
},
{
"style": "Text",
"text": "1) Bullish or Bearish."
},
{
"style": "Text",
"text": "2) No shadows."
},
{
"style": "Text",
"text": "Opening-Green-Marubozu\t"
},
{
"style": "Text",
"text": "“Opening Green Marubozu”\t"
},
{
"style": "Text",
"text": "1) Bullish."
},
{
"style": "Text",
"text": "2) No lower shadow."
},
{
"style": "Text",
"text": "Closing-Green-Marubozu\t"
},
{
"style": "Text",
"text": "“Closing Green Marubozu”\t"
},
{
"style": "Text",
"text": "1) Bullish."
},
{
"style": "Text",
"text": "2) No upper shadow."
},
{
"style": "Text",
"text": "Opening-Red-Marubozu\t"
},
{
"style": "Text",
"text": "“Opening Red Marubozu”\t"
},
{
"style": "Text",
"text": "1) Bearish."
},
{
"style": "Text",
"text": "2) No upper shadow."
},
{
"style": "Text",
"text": "Closing-Red-Marubozu\t"
},
{
"style": "Text",
"text": "“Closing Red Marubozu”\t"
},
{
"style": "Text",
"text": "1) Bearish."
},
{
"style": "Text",
"text": "2) No lower shadow."
},
{
"style": "Text",
"text": "Spinning Top Candles"
},
{
"style": "Text",
"text": "These candles have the following characteristics in common:"
},
{
"style": "Text",
"text": "Have at least one shadow."
},
{
"style": "Text",
"text": "At least one shadow is greater than the body."
},
{
"style": "Text",
"text": "The opening price differs from the closing price."
},
{
"style": "Text",
"text": "According to their particular characteristics, they are named as follows:"
},
{
"style": "Text",
"text": "Representation\tBasic Candle Name\tParticular Characteristics"
},
{
"style": "Text",
"text": "Spinning-Top\t"
},
{
"style": "Text",
"text": "“Green Spinning Top”"
},
{
"style": "Text",
"text": "“Red Spinning Top”\t"
},
{
"style": "Text",
"text": "1) Bullish or Bearish."
},
{
"style": "Text",
"text": "2) Relative Size: Short or Long."
},
{
"style": "Text",
"text": "3) If it’s relative size is long, none of the shadows"
},
{
"style": "Text",
"text": "can exceed three times the body."
},
{
"style": "Text",
"text": "High-Wave\t"
},
{
"style": "Text",
"text": "“High Wave”\t1) Bullish or Bearish."
},
{
"style": "Text",
"text": "2) Relative Size: Long."
},
{
"style": "Text",
"text": "3) The length of at least one shadow is at least 3 times larger than the body."
},
{
"style": "Text",
"text": "Doji Candles"
},
{
"style": "Text",
"text": "These candles have the following characteristics in common:"
},
{
"style": "Text",
"text": "Have no body, or very small body if it is allowed."
},
{
"style": "Text",
"text": "According to their particular characteristics, they are named as follows:"
},
{
"style": "Text",
"text": "Representation\tBasic Candle Name\tParticular Characteristics"
},
{
"style": "Text",
"text": "Four-Price-Doji\t"
},
{
"style": "Text",
"text": "“Four-Price Doji”\t"
},
{
"style": "Text",
"text": "1) No shadows."
},
{
"style": "Text",
"text": "2) Relative Size: Short."
},
{
"style": "Text",
"text": "Star-Doji\t"
},
{
"style": "Text",
"text": "“Star Doji”\t"
},
{
"style": "Text",
"text": "1) The body is located nearly mid-range (between 60% and 40% of total length)."
},
{
"style": "Text",
"text": "2) Relative Size: Short."
},
{
"style": "Text",
"text": "Long-Legged-Doji\t"
},
{
"style": "Text",
"text": "“Long-Legged Doji”\t"
},
{
"style": "Text",
"text": "1) The body is located nearly mid-range (between 60% and 40% of total length)."
},
{
"style": "Text",
"text": "2) Relative Size: Long."
},
{
"style": "Text",
"text": "Dragonfly-Doji\t"
},
{
"style": "Text",
"text": "“Dragonfly Doji”\t"
},
{
"style": "Text",
"text": "1) Upper shadow shorter than 1% of total candle length."
},
{
"style": "Text",
"text": "2) Relative Size: Long."
},
{
"style": "Text",
"text": "Gravestone-Doji\t"
},
{
"style": "Text",
"text": "“Gravestone Doji”\t"
},
{
"style": "Text",
"text": "1) Lower shadow shorter than 1% of total candle length."
},
{
"style": "Text",
"text": "2) Relative Size: Long."
},
{
"style": "Text",
"text": "Generic-Doji\t"
},
{
"style": "Text",
"text": "“Generic Doji”\t"
},
{
"style": "Text",
"text": "All doji candles that do not match the 5 mentioned above."
},
{
"style": "Text",
"text": " Note: It is worth noting that this initial set of definitions is what may be found in the general literature. However, the indicator may be expanded to identify other types of candles. We welcome ideas and contributions in that regard."
},
{
"style": "Text",
"text": "One-Candle Patterns"
},
{
"style": "Text",
"text": "One-Candle Patterns consist of a single basic candle in a certain market context. Matching the type of basic candle with the analysis of the context in terms of the current trend as indicated by a 10-period exponential moving average (EMA) may help predict reversals or continuations."
},
{
"style": "Text",
"text": "One-Candle Patterns layer"
},
{
"style": "Text",
"text": "The layer features an EMA 10 drawn with a dark line. It also features green and red arrows below and above the one-candles patterns, indicating the position in which the pattern appears."
},
{
"style": "Text",
"text": "If the candle is green and is pointing up, the pattern indicates a “Bullish Reversal” or a “Bullish Continuation” forecast when it’s trending downwards or upwards respectively. If the candle is red and is pointing down, it indicates a “Bearish Reversal” or “Bearish Continuation” forecast when the trend is up or down respectively."
},
{
"style": "Text",
"text": "The panel features the following properties:"
},
{
"style": "Text",
"text": "Indicator Properties\tDescription"
},
{
"style": "Text",
"text": "Pattern Name\tThe name of the pattern."
},
{
"style": "Text",
"text": "Trend Direction\tThe market trend on which the pattern has formed, as indicated by the EMA 10."
},
{
"style": "Text",
"text": "Forecast\tThe prediction given by the pattern forming in the current trend."
},
{
"style": "Text",
"text": "Trend Line Method\tThe method used to calculate the moving average that represents the trend line."
},
{
"style": "Text",
"text": "Trend Line Period\tThe number of periods used to calculate the moving average."
},
{
"style": "Text",
"text": "Trend Line Value\tThe current value of the moving average."
},
{
"style": "Text",
"text": "Two-Candles Patterns"
},
{
"style": "Text",
"text": "Two-Candles Patterns are built from two basic candles."
},
{
"style": "Text",
"text": " Note: The same concepts regarding the context of the trend discussed for one-candle patterns apply for all patterns with two candles or more."
},
{
"style": "Text",
"text": "Two-Candles Patterns layer"
},
{
"style": "Text",
"text": "When analyzing patterns of more than one candle, it is important to understand the following concepts:"
},
{
"style": "Text",
"text": "The first candle in the pattern is the first candle that is formed chronologically, and so on for the following candles."
},
{
"style": "Text",
"text": "The first candle in the pattern is the one that defines the trend of the pattern. For this reason, the value and the direction of the trend line of the pattern corresponding to the trend line of the first candle."
},
{
"style": "Text",
"text": "The arrow is drawn on the last candle that forms the pattern."
},
{
"style": "Text",
"text": " Note: The three concepts explained above apply for all patterns with two candles or more"
},
{
"style": "Text",
"text": "Three-Candles Patterns"
},
{
"style": "Text",
"text": "Three-Candles Patterns are built from three basic candles."
},
{
"style": "Text",
"text": "Three-Candles Patterns layer"
},
{
"style": "Text",
"text": "Candle Patterns Products & Properties"
},
{
"style": "Text",
"text": "Product Name\tProduct Variable\tProperty Variables"
},
{
"style": "Text",
"text": "Basic Candles\tbasicCandle\tname, size, direction, upperShadow, body, lowerShadow, length, meanBody, meanLength"
},
{
"style": "Text",
"text": "One-Candle Patterns\toneCandlePattern\tname, trend, forecast, trendLine"
},
{
"style": "Text",
"text": "Two-Candles Patterns\ttwoCandlePattern\tname, trend, forecast, trendLine"
},
{
"style": "Text",
"text": "Three-Candles Patterns\tthreeCandlePattern\tname, trend, forecast, trendLine"
},
{
"style": "Text",
"text": "Examples:"
},
{
"style": "Text",
"text": "chart.at24hs.basicCandle.name === \"Long Green Candle\" — Is Long Green Candle the name of the current basic candle?"
},
{
"style": "Text",
"text": "chart.at24hs.basicCandle.upperShadow > chart.at24hs.basicCandle.body — Is the upper shadow longer than the body?"
},
{
"style": "Text",
"text": "Basic Candles"
},
{
"style": "Text",
"text": "Variable\tDescription\tPossible Values"
},
{
"style": "Text",
"text": "name\tThe name that has been assigned to the basic candle.\tShort Green Candle, Short Red Candle, Green Candle, Red Candle, Long Green Candle, Long Red Candle, Green Marubozu, Opening Green Marubozu, Closing Green Marubozu, Red Marubozu, Opening Red Marubozu, Closing Red Marubozu, Red Spinning Top, Green Spinning Top, High Wave, Four-Price Doji, Star Doji, Long-Legged Doji, Dragonfly Doji, Gravestone Doji, Generic Doji"
},
{
"style": "Text",
"text": "size\tThe relative size of the candle\tshort, long"
},
{
"style": "Text",
"text": "direction\tIndicates if it’s a bullish or a bearish candle\tbullish, bearish"
},
{
"style": "Text",
"text": "upperShadow\tThe length of the upper shadow\t "
},
{
"style": "Text",
"text": "body\tThe length of the body\t "
},
{
"style": "Text",
"text": "lowerShadow\tThe length of the lower shadow\t "
},
{
"style": "Text",
"text": "length\tThe total length of the candle (candle.max - candle.min)\t "
},
{
"style": "Text",
"text": "meanBody\tThe moving average of the length of the bodies of previous candles\t "
},
{
"style": "Text",
"text": "meanLength\tThe moving average of the total length of previous candles\t "
},
{
"style": "Text",
"text": "Click to learn how to change the basic calculation parameters"
},
{
"style": "Text",
"text": "One-Candle Patterns"
},
{
"style": "Text",
"text": "Variable\tDescription\tPredefined Values"
},
{
"style": "Text",
"text": "name\tThe name assigned to the pattern\tBearish Strong Line, Bearish Belt Hold, Hanging Man, Shooting Star, Bullish Belt Hold, Hammer, Bullish Strong Line"
},
{
"style": "Text",
"text": "trend\tThe market trend during which the pattern has formed\tUptrend, Downtrend"
},
{
"style": "Text",
"text": "forecast\tIt is the possible future scenario that represents the formation of this pattern\tBullish Continuation, Bullish Reversal, Bearish Continuation, Bearish Reversal"
},
{
"style": "Text",
"text": "trendLine\tThe value of the Moving Average that represents the trend line on which the pattern was formed\t "
},
{
"style": "Text",
"text": "Click to learn how to change the basic calculation parameters"
},
{
"style": "Text",
"text": "Two-Candles Patterns"
},
{
"style": "Text",
"text": "Variable\tDescription\tPredefined Values"
},
{
"style": "Text",
"text": "name\tIt is the name that has been assigned to the pattern based on the configuration of the candles that make it up\tLast Engulfing Bottom, Bearish Engulfing, Bearish Harami, Bearish Harami Cross, Bearish Tasuki Line, Descending Hawk, Tweezers Top, Two-Candle Shooting Star, Last Engulfing Top, Bullish Engulfing, Bullish Harami, Bullish Harami Cross, Bullish Tasuki Line, Tweezers Bottom"
},
{
"style": "Text",
"text": "trend\tThe market trend during which the pattern has formed\tUptrend, Downtrend"
},
{
"style": "Text",
"text": "forecast\tIt is the possible future scenario that represents the formation of this pattern\tBullish Continuation, Bullish Reversal, Bearish Continuation, Bearish Reversal"
},
{
"style": "Text",
"text": "trendLine\tThe value of the Moving Average that represents the trend line on which the pattern was formed\t "
},
{
"style": "Text",
"text": " Note: Calculation parameters are the same as those of One-Candle Patterns"
},
{
"style": "Text",
"text": "Three-Candles Patterns"
},
{
"style": "Text",
"text": "The following table details the variables that can be used in the conditions of the trading strategies:"
},
{
"style": "Text",
"text": "Variable\tDescription\tPredefined Values"
},
{
"style": "Text",
"text": "name\tIt is the name that has been assigned to the pattern based on the configuration of the candles that make it up\tAdvance Block, Deliberation, Identical Three Crows, Three Inside Down, Three Outside Down, Three Inside Up, Three Outside Up"
},
{
"style": "Text",
"text": "trend\tThe market trend during which the pattern has formed\tUptrend, Downtrend"
},
{
"style": "Text",
"text": "forecast\tIt is the possible future scenario that represents the formation of this pattern\tBullish Continuation, Bullish Reversal, Bearish Continuation, Bearish Reversal"
},
{
"style": "Text",
"text": "trendLine\tThe value of the Moving Average that represents the trend line on which the pattern was formed\t "
},
{
"style": "Text",
"text": " Note: Calculation parameters are the same as those of One-Candle Patterns"
},
{
"style": "Text",
"text": ""
}
]
}
@@ -0,0 +1,88 @@
{
"topic": "Sparta Data Mine",
"pageNumber": "1",
"type": "Simple Moving Average (SMA)",
"definition": {
"text": "The indicator produces the Simple Moving Avarge in multiple settings, including the popular 20, 50, 100, and 200, as well as less frequent base 7 and base 11 SMAs.",
"updated": 1611661320849
},
"paragraphs": [
{
"style": "Title",
"text": "Simple Moving Average On the Charts",
"updated": 1611661332955
},
{
"style": "Text",
"text": "According to Investopedia, “A simple moving average (SMA) is an arithmetic moving average calculated by adding recent closing prices and then dividing that by the number of time frames in the calculation average. Short-term averages respond quickly to changes in the price of the underlying asset, while long-term averages are slow to react.”"
},
{
"style": "Gif",
"text": "GIFs/Superalgos/Docs/indicators/sparta-bots-layers-01-SMA.gif",
"updated": 1611661370646
},
{
"style": "Text",
"text": ""
},
{
"style": "Text",
"text": "You will find several layers with different settings for SMAs, calculated on different periods. Each layer corresponds to a product made available by the indicator."
},
{
"style": "Text",
"text": "The information panel shows the numeric value for each SMA in the layer, in ascending order (i.e. SMA 20, SMA 50, SMA 100, etc.)."
},
{
"style": "Title",
"text": "Simple Moving Average Products & Properties"
},
{
"style": "Text",
"text": "There are three products pre-configured to start calculating as soon as you start the corresponding task, each with different period configurations:"
},
{
"style": "Table",
"text": "| Product Name | Product Variable | Properties |\n| Popular SMAs | popularSMA | sma20, sma50, sma100, sma200 |\n| Base 7 | base7SMA | sma7, sma14, sma21, sma28, sma35, sma70, sma140, sma210, sma280, sma350, sma700, sma1400 |\n| Base 11 | base11SMA | sma11, sma22, sma33, sma55, sma111 |",
"updated": 1611661544067
},
{
"style": "Text",
"text": "There are four more products available but they will not be calculated unless you create the corresponding data outputs and reference them to the corresponding data sets:",
"updated": 1611661553639
},
{
"style": "Table",
"text": "| Product Name | Product Variable | Properties |\n| Base 5 | base5SMA | sma5, sma10, sma15, sma20, sma25, sma50, sma100, sma150, sma200, sma250, sma500, sma1000 |\n| Base 6 | base6SMA | sma6, sma12, sma18, sma24, sma30, sma60, sma120, sma180, sma240, sma300, sma600, sma1200 |\n| Base 12 | base12SMA | sma12, sma24, sma36, sma48, sma60, sma120, sma240, sma360, sma480, sma600, sma1200 |\n| Base 30 | base30SMA | sma30, sma60, sma90, sma120, sma150, sma300, sma600, sma900, sma1200, sma1500 |",
"updated": 1611661663605
},
{
"style": "Text",
"text": "Examples:",
"updated": 1611661674316
},
{
"style": "Javascript",
"text": "chart.at24hs.popularSMA.sma50 > chart.at24hs.popularSMA.sma200",
"updated": 1611661680380
},
{
"style": "Text",
"text": "An indication of a bull market? Is the 50-day moving average above the 200-day moving average?"
},
{
"style": "Javascript",
"text": "chart.at24hs.popularSMA.sma200 > chart.at24hs.base7SMA.sma350",
"updated": 1611661686525
},
{
"style": "Text",
"text": "Looking even further in the past, comparing a 200-day with a 350-day moving average. Notice how the two MA belong to different products."
},
{
"style": "Table",
"text": "aaasd\nasdf",
"updated": 1611661523824
}
]
}