﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">historical data. StockSharp</title>
  <id>https://stocksharp.com/handlers/atom.ashx?category=tag&amp;id=historical data&amp;type=blog</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-06T12:45:10Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=tag&amp;id=historical data&amp;type=blog" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/24976/</id>
    <title type="text">How to download free Forex market data from Dukascopy via S#.Data(Hydra)</title>
    <published>2023-08-20T15:49:55Z</published>
    <updated>2023-08-21T12:56:45Z</updated>
    <author>
      <name>Pannipa</name>
      <uri>https://stocksharp.com/users/164332/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="backtesting" />
    <category term="historical data" />
    <category term="market data" />
    <category term="forex" />
    <category term="DukasCopy" />
    <category term="traders" />
    <category term="historical market data" />
    <category term="historical market data for free" />
    <content type="html">&lt;br /&gt;&lt;div align="center"&gt;&lt;iframe width="640" height="390" src="//www.youtube.com/embed/dfcYfgCNHys" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;b&gt;&amp;#128165;How can you download free Forex market data via S#.Data? This Video has answers for you.&amp;#128165;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128165;&amp;#128165; In the fast-paced world of financial markets, knowledge truly is power. Historical market data plays a pivotal role in empowering traders and investors with insights into past price movements, trends, and patterns. This data serves as a valuable tool for making informed decisions, developing trading strategies, and understanding market dynamics. In this article, we delve into the importance of historical market data and explore where to find it for free, with a special focus on the offerings of Dukascopy.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Value of Historical Market Data:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;⚡️Historical market data provides a historical record of price movements, volume, and other relevant metrics for various financial instruments. Here&amp;#39;s why it&amp;#39;s crucial for traders and investors:&lt;br /&gt;&lt;br /&gt;&amp;#128073; Pattern Recognition: Examining historical data allows traders to identify recurring patterns and trends that may indicate potential market movements in the future. Recognizing these patterns can inform trading strategies and decisions.&lt;br /&gt;&lt;br /&gt;&amp;#128073; Backtesting Strategies: Historical data enables traders to test their trading strategies on past market conditions. This process, known as backtesting, helps traders understand how their strategies would have performed in different scenarios.&lt;br /&gt;&lt;br /&gt;&amp;#128073; Risk Management: Analyzing historical data helps traders assess historical volatility, allowing them to manage risk more effectively. This is essential for determining appropriate position sizes and setting stop-loss levels.&lt;br /&gt;&lt;br /&gt;&amp;#128073; Market Understanding: Historical data provides insight into how various economic events, news releases, and geopolitical developments have influenced market behavior in the past. This understanding can guide traders in predicting market reactions to similar events.&lt;br /&gt;&lt;br /&gt;&amp;#128073; Strategy Development: Traders can use historical data to develop and refine trading algorithms and quantitative models. By testing these strategies on historical data, traders can fine-tune their approaches before applying them in live markets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accessing Historical Market Data for Free:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;⚡️ Several online platforms offer historical market data for free, enabling traders to access and analyze the information they need. Some of these sources include:&lt;br /&gt;&lt;br /&gt;&amp;#128293; Dukascopy: Dukascopy, a Swiss-based online bank and forex brokerage, provides historical market data through its &amp;quot;JForex&amp;quot; platform. Traders can access detailed historical tick data for a wide range of currency pairs and other instruments. This data can be invaluable for traders looking to conduct thorough analysis and backtesting.&lt;br /&gt;&lt;br /&gt;&amp;#128293; Yahoo Finance: Yahoo Finance offers historical price data for stocks, indices, currencies, commodities, and more. Users can download historical data in various timeframes and formats.&lt;br /&gt;&lt;br /&gt;&amp;#128293; Investing.com: Investing.com provides historical price data and charts for a wide range of financial instruments. The platform allows users to customize date ranges and chart types.&lt;br /&gt;&lt;br /&gt;&amp;#128293; Free Charting Platforms: Some charting platforms, like TradingView, offer historical data for various markets. Users can access price data and apply technical analysis tools.&lt;br /&gt;&lt;br /&gt;&amp;#128293; Central Banks and Government Agencies: Central banks and government agencies often provide economic and financial data, including historical statistics, through their official websites.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dukascopy&amp;#39;s Historical Market Data Offering:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128165;&amp;#128165; Dukascopy&amp;#39;s historical market data offering stands out due to its comprehensive and detailed nature. Traders can access tick-by-tick data for precise analysis and backtesting. The availability of such data can be invaluable for algorithmic traders and quantitative analysts aiming to develop and optimize trading strategies.&lt;br /&gt;&lt;br /&gt;&amp;#128165;Additionally, Dukascopy&amp;#39;s Swiss regulatory status adds an extra layer of reliability and credibility to its data offerings, enhancing the confidence of traders who rely on accurate historical data.&lt;br /&gt;&lt;br /&gt;⚡️⚡️ Historical market data is a treasure trove of insights that traders and investors can leverage to enhance their decision-making and trading strategies. Accessing this data for free has become easier with various online platforms and resources. Dukascopy&amp;#39;s contribution to this landscape, with its detailed historical tick data, serves as a testament to the importance of quality information in the world of trading. By harnessing the power of historical data, traders can gain a competitive edge in navigating the complexities of financial markets.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/144293/StockSharp_Trump-trail-9.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/144293/StockSharp_Trump-trail-9.png?size=800x800" alt="StockSharp_Trump trail-9.png" title="StockSharp_Trump trail-9.png" /&gt;&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/24893/</id>
    <title type="text">How to using Breakout Strategy in trading.</title>
    <published>2023-07-03T16:50:33Z</published>
    <updated>2023-07-03T16:50:33Z</updated>
    <author>
      <name>Pannipa</name>
      <uri>https://stocksharp.com/users/164332/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="historical data" />
    <category term="Backtest" />
    <category term="Technical analysis" />
    <category term="uptrend" />
    <category term="downtrend" />
    <category term="trading volume" />
    <category term="support and resistance" />
    <category term="long position" />
    <category term="Momentum" />
    <category term="Breakout Strategy" />
    <category term="Moving Average Convergence Divergence" />
    <category term="Relative Strength Index" />
    <category term="trendline" />
    <category term="Identify the Range" />
    <content type="html">&lt;br /&gt;&amp;#128165;&amp;#128165;The Breakout Strategy is a popular trading approach that aims to capitalize on significant price movements when an asset breaks out of a defined range or a key level of support or resistance. Here&amp;#39;s an explanation of how to use the Breakout Strategy:&lt;br /&gt;&lt;br /&gt;&amp;#128073; 1. Identify the Range: Look for a well-defined range where the price has been consolidating for an extended period. This range can be horizontal (sideways) or sloping (ascending or descending).&lt;br /&gt;&lt;br /&gt;&amp;#128073; 2. Mark Key Levels: Identify the key levels within the range, such as support and resistance levels. These levels represent barriers that the price needs to break to signal a potential breakout.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 3. Wait for Breakout Confirmation: Monitor the price action and wait for a confirmed breakout. A breakout occurs when the price convincingly moves above the resistance level in an uptrend or below the support level in a downtrend.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 4. Confirm with Volume: Consider analyzing trading volume alongside the breakout. A high volume during a breakout can provide confirmation that there is sufficient buying or selling pressure to sustain the price movement.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 5. Set Entry and Exit Points: Once the breakout is confirmed, determine your entry point. You can enter a long position when the price breaks above resistance or a short position when it breaks below support. Place a stop-loss order below the breakout level to limit potential losses.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 6. Confirm with Price Targets: Calculate potential price targets by measuring the distance between the range boundaries and adding or subtracting that distance from the breakout point. These targets can serve as potential profit-taking levels.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 7. Consider Trade Confirmation: Use additional technical analysis tools to confirm the breakout signal. For example, you can look for bullish or bearish candlestick patterns, momentum indicators like the Relative Strength Index (RSI) or the Moving Average Convergence Divergence (MACD), or trendline breaks.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 8. Manage Risk: Implement proper risk management techniques by setting a risk-to-reward ratio for your trades. Determine an appropriate position size based on your risk tolerance and adjust your stop-loss levels accordingly.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 9. Monitor the Trade: Continuously monitor the trade to assess its progress. Consider trailing stop-loss orders to protect profits and adjust your targets if the price shows signs of extended momentum.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 10. Practice and Backtest: Before using the strategy with real money, practice and backtest it using historical data. This helps you understand its effectiveness, identify any adjustments needed, and gain confidence in executing breakout trades.&lt;br /&gt;&lt;br /&gt;⚡️⚡️Remember that breakouts can sometimes be false signals, so it&amp;#39;s crucial to wait for confirmation and use proper risk management techniques. Additionally, consider market conditions, news events, and overall trend direction to increase the probability of successful breakout trades.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/24841/</id>
    <title type="text">Backtesting Strategy Development.</title>
    <published>2023-06-19T08:58:00Z</published>
    <updated>2023-06-29T14:00:44Z</updated>
    <author>
      <name>Pannipa</name>
      <uri>https://stocksharp.com/users/164332/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="backtesting" />
    <category term="historical data" />
    <category term="trading strategy" />
    <category term="trading robot" />
    <category term="Robustness testing" />
    <category term="Walk-forward testing" />
    <category term="Strategy Implementation" />
    <category term="Performance Comparison and Evaluation" />
    <category term="Optimization and Parameter Tuning" />
    <category term="Statistical Analysis" />
    <category term="Performance Measurement" />
    <content type="html">&lt;div align="center"&gt;&lt;a href='https://stocksharp.com/file/143658/358ba2464c394f44b7c0ac33eebf7486.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/143658/358ba2464c394f44b7c0ac33eebf7486.png?size=800x800" alt="358ba2464c394f44b7c0ac33eebf7486.png" title="358ba2464c394f44b7c0ac33eebf7486.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;#129302;&amp;#129302; Backtesting is a critical component of trading robot development and evaluation. It involves testing a trading strategy using historical market data to assess its performance and validate its effectiveness before deploying it in live trading. Here&amp;#39;s how backtesting is typically conducted in a trading robot:&lt;br /&gt;&lt;br /&gt;&amp;#128073; 1. Historical Data: The trading robot utilizes historical market data, including price data, volume data, and other relevant indicators, to recreate past market conditions. The data should cover a sufficiently long and diverse period to capture different market scenarios and conditions.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 2. Strategy Implementation: The trading robot applies the specific trading strategy or algorithm to the historical data. It executes simulated trades based on the predetermined rules and logic of the strategy, including entry and exit signals, position sizing, risk management rules, and any other relevant parameters.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 3. Performance Measurement: The trading robot measures and records the performance of each simulated trade, including profit/loss, win rate, risk-reward ratio, maximum drawdown, and other relevant metrics. It tracks the equity curve, trade history, and portfolio performance throughout the backtesting period.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 4. Statistical Analysis: The trading robot performs statistical analysis on the backtesting results to evaluate the strategy&amp;#39;s performance. This analysis may include metrics such as annualized return, Sharpe ratio, Sortino ratio, maximum drawdown, and other risk-adjusted performance measures. It helps assess the strategy&amp;#39;s profitability, risk levels, and consistency over time.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 5. Optimization and Parameter Tuning: Based on the backtesting results, the trading robot may undergo optimization and parameter tuning to improve its performance. This involves adjusting and fine-tuning the strategy&amp;#39;s parameters, such as indicators, thresholds, timeframes, or any other variables, to maximize the strategy&amp;#39;s profitability or risk-adjusted metrics.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 6. Robustness Testing: The trading robot undergoes robustness testing to evaluate its performance under different market conditions or variations in the input data. This testing helps assess the strategy&amp;#39;s robustness, resilience to market changes, and ability to adapt to different scenarios.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 7. Walk-Forward Testing: To further validate the strategy&amp;#39;s performance and robustness, the trading robot may undergo walk-forward testing. This involves dividing the historical data into multiple segments, such as training and testing periods, to simulate real-world trading conditions more accurately. The strategy is periodically re-optimized and evaluated using fresh data to ensure its ongoing effectiveness.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 8. Performance Comparison and Evaluation: The trading robot compares the backtesting results of different strategies or variations to identify the most promising ones. It evaluates the strategies based on their risk-adjusted returns, consistency, drawdowns, and other relevant metrics. This helps select the best-performing strategy for live trading or further refinement.&lt;br /&gt;&lt;br /&gt;&amp;#128165;&amp;#128165; Backtesting provides valuable insights into a trading strategy&amp;#39;s historical performance, profitability, and risk characteristics. It helps traders and developers assess the strategy&amp;#39;s viability, make informed decisions, and gain confidence in deploying it in live trading. However, it&amp;#39;s important to note that past performance does not guarantee future results, and ongoing monitoring and adaptation are necessary to account for changing market conditions.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/24752/</id>
    <title type="text">How is trading robot working?</title>
    <published>2023-05-19T18:12:59Z</published>
    <updated>2023-05-21T18:57:29Z</updated>
    <author>
      <name>Pannipa</name>
      <uri>https://stocksharp.com/users/164332/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="historical data" />
    <category term="algorithms" />
    <category term="trading strategy" />
    <category term="trading robot" />
    <category term="traders" />
    <category term="Technical analysis" />
    <category term="indicators" />
    <category term="Risk Management" />
    <category term="Continuous Monitoring and Maintenance" />
    <category term="Backtesting and Optimization" />
    <category term="Speed and Efficiency" />
    <category term="Order Monitoring" />
    <category term="Market Analysis" />
    <category term="Strategy Development" />
    <content type="html">&lt;div align="center"&gt;&lt;a href='https://stocksharp.com/file/143086/Integrating-Artificial-Intelligence-And-Machine-Learning-Into-Your-Crypto-Trading-Bot.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/143086/Integrating-Artificial-Intelligence-And-Machine-Learning-Into-Your-Crypto-Trading-Bot.jpg?size=800x800" alt="Integrating-Artificial-Intelligence-And-Machine-Learning-Into-Your-Crypto-Trading-Bot.jpg" title="Integrating-Artificial-Intelligence-And-Machine-Learning-Into-Your-Crypto-Trading-Bot.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128165;&amp;#128165;A trading robot, also known as an automated trading system or algorithmic trading system, is a software program that executes trades in the financial markets on behalf of traders. It operates based on predefined rules and algorithms, without the need for manual intervention. Here&amp;#39;s how a trading robot typically works:&lt;br /&gt;&lt;br /&gt;&amp;#128073; 1. Strategy Development: The trading robot is programmed with a specific trading strategy. The strategy defines the conditions for entering and exiting trades based on various indicators, signals, or algorithms. These rules can be based on technical analysis, fundamental analysis, or a combination of both.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 2. Market Analysis: The trading robot continuously monitors the market using real-time or historical data feeds. It analyzes the market conditions and price movements, applying the predefined strategy rules to identify potential trade opportunities.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 3. Trade Execution: When the trading robot identifies a trade setup that meets the specified criteria, it automatically generates and executes the trade orders. This includes placing buy or sell orders with the appropriate parameters, such as the asset, quantity, price, and order type (market order, limit order, etc.).&lt;br /&gt;&lt;br /&gt;&amp;#128073; 4. Risk Management: Trading robots incorporate risk management rules to protect against excessive losses. These rules may include setting stop-loss orders to limit potential losses, implementing trailing stops to secure profits, or adjusting position sizes based on predefined risk levels.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 5. Order Monitoring: The trading robot continuously monitors the executed trades, tracking their performance and adjusting stop-loss levels or take-profit targets as necessary. It may also monitor market conditions to identify when to exit a trade based on the strategy rules.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 6. Speed and Efficiency: One of the key advantages of trading robots is their ability to execute trades with high speed and precision. They can analyze multiple markets and assets simultaneously, identify trade opportunities faster than human traders, and execute orders instantly, minimizing latency and slippage.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 7. Backtesting and Optimization: Before deploying a trading robot in live trading, it is crucial to backtest and optimize the strategy using historical market data. This helps assess the performance of the strategy over time and identify any potential issues or areas for improvement. Backtesting allows traders to validate the effectiveness of the robot before risking real capital.&lt;br /&gt;&lt;br /&gt;&amp;#128073; 8. Continuous Monitoring and Maintenance: While trading robots can operate autonomously, it is important to monitor their performance regularly. Traders need to ensure that the strategy remains effective under changing market conditions and make necessary adjustments or updates as required. Regular monitoring helps maintain the robot&amp;#39;s performance and adapt to new market dynamics.&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a href='https://stocksharp.com/file/143087/Want-to-trade-automatic-See-Top-10-Crypto-Trading-Bots-in-2021.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/143087/Want-to-trade-automatic-See-Top-10-Crypto-Trading-Bots-in-2021.jpg?size=800x800" alt="Want-to-trade-automatic-See-Top-10-Crypto-Trading-Bots-in-2021.jpg" title="Want-to-trade-automatic-See-Top-10-Crypto-Trading-Bots-in-2021.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128165;&amp;#128165;It&amp;#39;s worth noting that trading robots are only as good as the strategy and rules they are programmed with. Therefore, it is crucial to develop a robust and well-tested trading strategy and regularly evaluate and update the robot&amp;#39;s performance to ensure its effectiveness in different market conditions.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/24575/</id>
    <title type="text">How to download Market data from Binance History via S#.Data(Hydra)</title>
    <published>2023-04-11T16:26:35Z</published>
    <updated>2023-04-11T18:42:44Z</updated>
    <author>
      <name>Pannipa</name>
      <uri>https://stocksharp.com/users/164332/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="historical data" />
    <category term="binance" />
    <category term="traders" />
    <category term="Download market data" />
    <category term="Market trends" />
    <category term="Binance Historical" />
    <category term="Binance exchange" />
    <category term="price charts" />
    <category term="trading volumes" />
    <category term="cryptocurrency markets" />
    <content type="html">&amp;#128165;Binance is a popular cryptocurrency exchange platform that offers a wide range of trading services for various digital assets, including Bitcoin, Ethereum, and other altcoins. &amp;quot;Binance Historical&amp;quot; could refer to the historical data and trading activity on the Binance exchange, such as price charts, trading volumes, and market trends for various cryptocurrencies over a specific period of time. This data can be useful for traders and investors to analyze market trends and make informed decisions about buying or selling digital assets.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;iframe width="640" height="390" src="//www.youtube.com/embed/DnE4C9umOys" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128165;Binance is one of the most popular cryptocurrency exchanges in the world, and it offers a wide range of trading pairs for traders to choose from. As a trader, you may want to download market data from Binance history for various reasons, such as backtesting trading strategies, performing technical analysis, or conducting research on cryptocurrency markets. In this article, we will guide you on how to download market data from Binance history via S#.Data.&lt;br /&gt;&lt;br /&gt;&amp;#128073; Open up your S#.Data Application.&lt;br /&gt;&amp;#128073; Visit our instruction if you doesn&amp;#39;t have &lt;b&gt;&lt;a href="https://stocksharp.com/store/market-data-downloader/" title="Hydra free market data downloader and database"&gt;Hydra&lt;/a&gt;&lt;/b&gt; application. &lt;br /&gt;&amp;#128073; &lt;b&gt;&lt;a href="https://stocksharp.com/articles/12374" title="https://stocksharp.com/articles/12374"&gt;How I can get S#.Data&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142128/Binance-01.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142128/Binance-01.png?size=800x800" alt="Binance 01.png" title="Binance 01.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; The first page you found will be all possible supported &lt;b&gt;sources&lt;/b&gt;.&lt;br /&gt;&amp;#128073; Or click &lt;b&gt;Add Sources&lt;/b&gt; with the plus sign on your top left hand side.&lt;br /&gt;&amp;#128073; Find &lt;b&gt;Binance History&lt;/b&gt; from the list.&lt;br /&gt;&amp;#128073; Select &lt;b&gt;Connection to Binance History&lt;/b&gt;.&lt;br /&gt;&amp;#128073; And Click &lt;b&gt;OK.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142132/Binance-02.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142132/Binance-02.png?size=800x800" alt="Binance 02.png" title="Binance 02.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; The system will show the screen as above to confirm the&lt;b&gt; connection with Binance History&lt;/b&gt;.&lt;br /&gt;&amp;#128073; Press &lt;b&gt;Yes&lt;/b&gt; to continue.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142131/Binance-03.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142131/Binance-03.png?size=800x800" alt="Binance 03.png" title="Binance 03.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Press &lt;b&gt;Add Security&lt;/b&gt;, which is a &lt;b&gt;Plus sign&lt;/b&gt; on the bottom row toolbar.&lt;br /&gt;&amp;#128073; After that, you click on the &lt;b&gt;Download Security tab&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142134/Binance-04.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142134/Binance-04.png?size=800x800" alt="Binance 04.png" title="Binance 04.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Select to Download Securities&lt;b&gt; All&lt;/b&gt;.&lt;br /&gt;&amp;#128073; Click &lt;b&gt;OK.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142136/Binance-05.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142136/Binance-05.png?size=800x800" alt="Binance 05.png" title="Binance 05.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Double click on the &lt;b&gt;Instruments tab&lt;/b&gt; on the&lt;b&gt; left &lt;/b&gt;to move it to the &lt;b&gt;right&lt;/b&gt; and click &lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142133/Binance-06.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142133/Binance-06.png?size=800x800" alt="Binance 06.png" title="Binance 06.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Select the &lt;b&gt;Time Frame candle &lt;/b&gt;and click &lt;b&gt;OK.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142130/Binance-07.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142130/Binance-07.png?size=800x800" alt="Binance 07.png" title="Binance 07.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Press to select a &lt;b&gt;Date&lt;/b&gt;.  where you want to start with Market Data information.&lt;br /&gt;&amp;#128073; &lt;b&gt;Press start &lt;/b&gt;at the top left hand corner of the screen to begin downloading Market Data information from &lt;b&gt;Binance History.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142129/Binance-08.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142129/Binance-08.png?size=800x800" alt="Binance 08.png" title="Binance 08.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Once the data has finished downloading, &lt;b&gt;press Stop.&lt;/b&gt;&lt;br /&gt;&amp;#128073; &lt;b&gt;Right-click&lt;/b&gt; on the top bar and select&lt;b&gt; View download.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142127/Binance-09.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142127/Binance-09.png?size=800x800" alt="Binance 09.png" title="Binance 09.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Click &lt;b&gt;View Market Data information&lt;/b&gt;.&lt;br /&gt;&amp;#128073; Or &lt;b&gt;Click View Chart candle&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142135/Binance-10.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142135/Binance-10.png?size=800x800" alt="Binance 10.png" title="Binance 10.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;#128073; Now everything is &lt;b&gt;done&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&amp;#128165; Downloading market data from Binance history is a useful way to perform various analyses on cryptocurrency markets. By following the steps outlined in this article, you should be able to download your trade history from Binance and use third-party tools to download market data. Remember to always be careful when handling cryptocurrency data and use reputable sources for your analysis.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/142140/StockSharp_Trump-trail--7.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/142140/StockSharp_Trump-trail--7.png?size=800x800" alt="StockSharp_Trump trail -7.png" title="StockSharp_Trump trail -7.png" /&gt;&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/10679/</id>
    <title type="text">Designer - create a strategy based on MACD. Start with simple.</title>
    <published>2019-05-06T18:15:06Z</published>
    <updated>2019-11-18T07:05:29Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Trading robot coding" />
    <category term="Trading robots" />
    <category term="Trading systems" />
    <category term="historical data" />
    <category term="market data" />
    <category term="trading" />
    <category term="exchange" />
    <category term="MACD" />
    <content type="html">Creating a strategy in the &lt;a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"&gt;Designer&lt;/a&gt; program.&lt;br /&gt;&lt;br /&gt;Let’s discuss an example of creating a trading strategy in a program based on the MACD indicator values.&lt;br /&gt;The indicator’s goal is as follows:&lt;br /&gt;&lt;br /&gt;1. If the MACD indicator histogram crosses the zero line from top to bottom, this is a sell signal.&lt;br /&gt;2. The transition of the histogram from the negative to the positive zone is a buy signal.&lt;br /&gt;&lt;br /&gt;Therefore, it is necessary to create conditions under which a trade will be made, namely, if the indicator value on the next candle changes its sign, then the signal is sent to make a trade.&lt;br /&gt;To create a strategy, we need:&lt;br /&gt;&lt;br /&gt;- Run the program. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109074/1.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109074/1.png?size=800x800" alt="1.png" title="1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select the Variable, Candles and Chart Panel blocks, connect them. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109084/2.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109084/2.png?size=800x800" alt="2.png" title="2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select an instrument with which we will test the strategy. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109086/3.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109086/3.png?size=800x800" alt="3.png" title="3.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Plot a candle chart. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109081/4.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109081/4.png?size=800x800" alt="4.png" title="4.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select the Indicator and Chart Panel blocks. Connect the Indicator and Candles blocks. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109077/5.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109077/5.png?size=800x800" alt="5.png" title="5.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Plot a chart of the MACD indicator.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109075/6.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109075/6.png?size=800x800" alt="6.png" title="6.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select the Variable block and assign it a numeric value of 0 for further comparison with the indicator value. &lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109083/7.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109083/7.png?size=800x800" alt="7.png" title="7.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select the Comparison block and set the test condition in the properties: execution during the test, with the MACD indicator value greater than 0.&lt;br /&gt;&lt;br /&gt;- Add two Variable blocks and Comparison block. One of the variables is set to -1 in the block properties. It will indicate the transition of the MACD curve value from negative to positive area. The second Variable value is set to 0 in the properties, that will indicate the initial indicator value. &lt;br /&gt;&lt;br /&gt;- Set the condition in the Comparison block that will be fulfilled if the initial indicator value for the time frame is greater than the current one.&lt;br /&gt;&lt;br /&gt;- Connect the Variable blocks via a trigger socket with the Comparison blocks, as shown in the figure.&lt;br /&gt;Select the Logical Condition and Variable cubes.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109079/8.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109079/8.png?size=800x800" alt="8.png" title="8.png" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;- The execution condition of two comparisons will be checked in the Logical Condition cube. Set the AND condition in the properties of the Logical Condition cube and connect the cubes as shown in the figure.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109076/9.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109076/9.png?size=800x800" alt="9.png" title="9.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Set the value equal to -1 in the Variable cube and connect it with the Logical Condition cube via a trigger socket, and through the output connect to the input of the cube with a value of 0. This will allow overwriting the checkbox value when conditions are met, indicating within what range of values the MACD indicator curve is.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109080/10.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109080/10.png?size=800x800" alt="10.png" title="10.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select the Open Position block, select the Buy direction in the settings and connect data and trigger with the socket, as shown in the figure.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109082/11.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109082/11.png?size=800x800" alt="11.png" title="11.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Select two Variable blocks in which to set the volume and portfolio for trading. Connect them with the corresponding sockets of the Open Position block.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109087/12.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109087/12.png?size=800x800" alt="12.png" title="12.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Similarly, create a routine for the Sales execution.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109085/13.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109085/13.png?size=800x800" alt="13.png" title="13.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-The strategy is ready, let’s run it.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109078/14.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109078/14.png?size=800x800" alt="14.png" title="14.png" /&gt;&lt;/a&gt;&lt;br /&gt;</content>
  </entry>
</feed>