﻿<?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=community</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-05T19:20:02Z</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=community" 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>
  <entry>
    <id>https://stocksharp.com/topic/11125/</id>
    <title type="text">What is a trading robot?</title>
    <published>2019-10-28T14:49:18Z</published>
    <updated>2019-10-29T11:25:12Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="historical data" />
    <category term="trading" />
    <category term="exchange information" />
    <category term="Moscow exchange" />
    <category term="high-frequency trading" />
    <category term="HFT trading" />
    <category term="exchange trade" />
    <category term="stocks data exchange trading" />
    <category term="algo trade" />
    <category term="algo trading" />
    <category term="trading robot" />
    <category term="trade robot" />
    <category term="trade systems" />
    <content type="html">The growth of activity in the world markets among traders, as well as the constant progress of technology, led to an increase in the &lt;b&gt;speed of actions&lt;/b&gt; carried out by players on the trading floor.&lt;br /&gt;Today, many traders actively &lt;b&gt;working with various financial instruments&lt;/b&gt; prefer &lt;b&gt;trading robots&lt;/b&gt; rather than manual trading. This is largely due to the &lt;b&gt;speed of operations &lt;/b&gt;and their volume.&lt;br /&gt;Let&amp;#39;s see, what is a trading robot? A &lt;b&gt;trading robot&lt;/b&gt; is a &lt;b&gt;special program&lt;/b&gt; created by a &lt;b&gt;special algorithm&lt;/b&gt;, according to which it conducts trading operations. [nerd]&lt;br /&gt;Let&amp;#39;s take a closer look at the features of such programs.&lt;br /&gt;The &lt;b&gt;trading robot program&lt;/b&gt; allows you to &lt;b&gt;fully or partially take over the process of working&lt;/b&gt; on the trading floor. The trader, as the operator of the trading robot, has the possibility of &lt;b&gt;full control&lt;/b&gt; over it, which allows the robot to adjust the trading robot, &lt;b&gt;make changes to the program code or change the algorithm&lt;/b&gt;.&lt;br /&gt;The trading robot in Autonomous operation independently &lt;b&gt;makes decisions &lt;/b&gt;on orders and transactions, according to the established criteria of its algorithm, with intervention in the user&amp;#39;s process, operations can be carried out in&lt;b&gt; manual mode&lt;/b&gt;.&lt;br /&gt;The&lt;b&gt; program code&lt;/b&gt; of the trading robot is &lt;b&gt;based on calculated and thought-out mathematical sequences&lt;/b&gt;. Keeping track of different data such as &lt;b&gt;indexes, indicators and other market data&lt;/b&gt; obtained from the exchange. The trading robot program decides whether to buy or sell certain assets. The &lt;em&gt;speed of reaction to market changes&lt;/em&gt;, allows the trading robot to make much more transactions, respectively, potentially bring greater profits and reduce losses. [nerd]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109967/algorithmic-trading-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109967/algorithmic-trading-forex.jpg?size=800x800" alt="algorithmic-trading-forex.jpg" title="algorithmic-trading-forex.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s return to the main task of the trading robot. We can say that the task of a trading robot to simplify trading for a trader is not the main one. The &lt;b&gt;main task&lt;/b&gt; of the trading robot is to be able to &lt;b&gt;implement through programming trading algorithms&lt;/b&gt; that are difficult or impossible to implement in manual trading. Simply put, a trading robot is a set sequence of actions for making a trade.&lt;br /&gt;&lt;br /&gt;From the total mass of trading robots, it is necessary to distinguish three main groups that differ in the algorithm of work or the type of strategy.&lt;br /&gt;- &lt;em&gt;Trend (directional) or directional;&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;Countertrend&lt;/em&gt;;&lt;br /&gt;- &lt;em&gt;Arbitral&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109976/trade-robot-strategy.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109976/trade-robot-strategy.jpg?size=800x800" alt="trade-robot-strategy.jpg" title="trade-robot-strategy.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let us consider in more detail the features of each type of trading robots.&lt;br /&gt;1. &lt;em&gt;Trend or directional robots&lt;/em&gt;. The purpose of the robot is the &lt;b&gt;fastest response to the trend of the market&lt;/b&gt;, in other words to track in which direction the market has turned. Depending on the direction, the trading robot automatically opens a position either by selling or buying. Accordingly, if the market changes its direction, the trading robot performs the opposite action as quickly as possible, opening a position.&lt;br /&gt;2. &lt;em&gt;Countertrend trading robots&lt;/em&gt;. Their goal is to&lt;b&gt; track price rollbacks&lt;/b&gt;. This trading robot monitors price rollbacks occurring in the flat position of the market and places orders based on the established algorithm.&lt;br /&gt;3. &lt;em&gt;Arbitrage trading robot&lt;/em&gt;. This trading robot is &lt;b&gt;almost the most popular type&lt;/b&gt;. A trading robot such as &amp;quot;&lt;u&gt;&lt;a href="https://stocksharp.com/robot/18/edward-scissorhands/" title="https://stocksharp.com/robot/18/edward-scissorhands/"&gt;Edward&amp;quot;&lt;/a&gt;&lt;/u&gt;, for example, makes a profit by &lt;b&gt;determining price&lt;/b&gt; differences between similar or identical instruments in different markets. In fact, he buys in one market, sells in another, compensating for the difference and making a profit.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109964/trade-robot-api.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109964/trade-robot-api.png?size=800x800" alt="trade-robot-api.png" title="trade-robot-api.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Another way is the separation of robots:&lt;br /&gt;- &lt;em&gt;Candlestick&lt;/em&gt;. These are trading robots that use &lt;b&gt;candlestick data &lt;/b&gt;to determine signals for placing orders.&lt;br /&gt;- &lt;em&gt;Indicator&lt;/em&gt;. These robots use &lt;b&gt;indicator data&lt;/b&gt; to open an order.&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s talk about building a trading robot. The very &lt;b&gt;writing of program code&lt;/b&gt; &lt;b&gt;is not a difficult task&lt;/b&gt;, reduced to the knowledge of programming languages. It is much more difficult to find the &lt;b&gt;right way to create a trading algorithm&lt;/b&gt; on the basis of which a trading robot is created.&lt;br /&gt;Today, up to 50% of transactions on trading platforms are made by trading robots. Trading robots are rightfully considered one of the most reliable and effective trading tools. There&amp;#39;s an explanation :&lt;br /&gt;- &lt;em&gt;Trading robot simplifies the work of transactions with a large volume of the lot, dividing the application into smaller parts and making transactions in parts;&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;Trading robot reduces the labor of the trader, making trading operations automatically. This contributes to an increase in the volume of transactions, increase the profits that trade brings, and, importantly, reduces the possible loss;&lt;br /&gt;- While remaining automatic, the trading robot can always be switched to manual mode, that is, it remains completely under the control of its owner;&lt;br /&gt;- A huge list of tools and methods that can be used by a trading robot, allow us to say that the trading robot makes it possible to realize the most complex mathematical problems for trading;&lt;br /&gt;- The trading robot does not have the criterion of emotionality, in fact, it soberly operates its inherent mechanism. Does not panic in a stressful situation.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109966/HFT-trade-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109966/HFT-trade-forex.jpg?size=800x800" alt="HFT-trade-forex.jpg" title="HFT-trade-forex.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When analyzing trading robots, a trader must choose the &lt;b&gt;right path for himself&lt;/b&gt;, on the basis of which he will be able to choose a robot for himself. A trader should understand that a &lt;b&gt;trading robot is not decision for 100% success&lt;/b&gt;. In addition to the trader, it is important to know the platform for the implementation of such trading robots. There are quite a lot of them (TSlab, &lt;u&gt;&lt;a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"&gt;S#.Designer&lt;/a&gt;&lt;/u&gt;).&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109963/holy-grail-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109963/holy-grail-forex.jpg?size=800x800" alt="holy-grail-forex.jpg" title="holy-grail-forex.jpg" /&gt;&lt;/a&gt;        &lt;a href='https://stocksharp.com/file/109968/exchange-trade-strategy.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109968/exchange-trade-strategy.png?size=800x800" alt="exchange-trade-strategy.png" title="exchange-trade-strategy.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Summing up, we can say that the &lt;b&gt;trading robot is reliable and convenient functionality&lt;/b&gt; in the arms of the trader, the most important thing is to use it correctly when conducting exchange trading.&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11121/</id>
    <title type="text">Familiarity with algorithmic trading.</title>
    <published>2019-10-23T12:31:08Z</published>
    <updated>2019-10-23T12:31:08Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="historical data" />
    <category term="market data" />
    <category term="trading" />
    <category term="exchange information" />
    <category term="Moscow exchange" />
    <category term="high-frequency trading" />
    <category term="HFT trading" />
    <category term="exchange trade" />
    <category term="stocks data exchange trading" />
    <category term="algo trade" />
    <category term="algo trading" />
    <content type="html">Before you start talking about &lt;b&gt;algo trading&lt;/b&gt;, you need to define it.&lt;br /&gt;So, what is algo trading? There is a &lt;b&gt;different definition&lt;/b&gt; of this concept, only its essence and the principles on which the work is &lt;b&gt;based remain unchanged&lt;/b&gt;. Algo trading-trading, which takes place through a fully automated algorithm, which prescribes the trader, the execution of which potentially brings profit to the trader. In fact, it is a program that carries a sequence of actions. [nerd]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109909/trading_robot.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109909/trading_robot.jpg?size=800x800" alt="trading_robot.jpg" title="trading_robot.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The trader himself &lt;b&gt;makes and determines&lt;/b&gt; the sequence of applications for purchase or sale, indicating the order of management of his funds.&lt;br /&gt;The money management conditions set by the trader as &lt;b&gt;program parameters&lt;/b&gt; determine the necessary or optimal size of investments, for example, purchased securities. Similarly, this system manages the allowable loss or risk at which the size of the loss will be acceptable. In this case, risk management is performed by setting the &lt;b&gt;stop loss&lt;/b&gt; algorithm.&lt;br /&gt;The absence of feelings and emotions in the &lt;b&gt;algorithmic program &lt;/b&gt;allows to avoid nervous breakdowns or other emotional outbursts. This is certainly a plus, since the work of a trader often occurs on the verge of nervous tension, and sometimes a person can lose his nerves, which will entail a rash step and as a consequence of loss. At the same time, the trader has the &lt;b&gt;opportunity &lt;/b&gt;to intervene in the work of the trading strategy, &lt;b&gt;making the necessary adjustments&lt;/b&gt;. [laugh]&lt;br /&gt;The&lt;em&gt; task of algo trading&lt;/em&gt; is the exact execution of the instructions of its system. Often in some sources you can see the name of &lt;em&gt;mechanical trading systems (MTS)&lt;/em&gt;, but algo trading is the most common name. In fact, the algorithm is &lt;b&gt;&amp;quot; mechanically &amp;quot; executed by the program&lt;/b&gt;, excluding judgments about the market situation and the state of various instruments. I must say that the &amp;quot;mechanical&amp;quot; system is &lt;b&gt;not always automated&lt;/b&gt;. The latter, unlike the first, independently makes transactions, with the participation of a person is not required or minimized.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109902/trade_systems.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109902/trade_systems.jpg?size=800x800" alt="trade_systems.jpg" title="trade_systems.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Experts note that the algorithmic trading consists of &lt;b&gt;two stages&lt;/b&gt;. Let&amp;#39;s take a closer look at them.&lt;br /&gt;At the &lt;b&gt;level of the first stage&lt;/b&gt;, the trader creates his &amp;quot;mechanical&amp;quot; strategy. After creation, the process of&lt;b&gt; testing on the market data&lt;/b&gt;, and subsequently, when the strategy reaches the desired level of potential &lt;b&gt;profit&lt;/b&gt;, testing goes into real time or real trading. Note that the last stage takes place when using &lt;b&gt;minimal capital&lt;/b&gt;, as it is testing, and some traders prefer it to &lt;em&gt;&amp;quot;trade on paper&amp;quot;&lt;/em&gt;. At the same time, profitability is not the only criterion that gives an assessment of the efficiency of the strategy.&lt;br /&gt;Let&amp;#39;s talk about the means of creating and then testing the created strategies. Such tools may include &lt;b&gt;special programs&lt;/b&gt; designed for technical analysis of algorithmic systems created. The most famous are: carried out using specialized programs: &lt;em&gt;MetaStock, S#.Designer, Wealth-Lab, Tslab&lt;/em&gt; and others.&lt;br /&gt;The strategy program is written in various programming languages such as: &lt;em&gt;C#, C++, LUA &lt;/em&gt;and others. The recorded algorithm makes it possible to use the &lt;b&gt;downloaded market data &lt;/b&gt;to test the strategy, and in the future allows you to place orders in the programs used for trading. It is worth noting that strategies can be created as in constructor programs for example: &lt;em&gt;&lt;u&gt;&lt;a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"&gt;S#.Designer&lt;/a&gt;&lt;/u&gt;, Tslab&lt;/em&gt;, in which the strategy is created on the basis of cubes, and the program is a scheme, and in programs where direct programming is used &lt;em&gt;MetaStock, Wealth-Lab&lt;/em&gt;, including using ready-made libraries, such as &lt;u&gt;&lt;em&gt;&lt;a href="https://stocksharp.com/products/api/" title="https://stocksharp.com/products/api/"&gt;S#.API&lt;/a&gt;&lt;/em&gt;&lt;/u&gt;.&lt;br /&gt;The&lt;b&gt; second stage&lt;/b&gt; of development begins after the trader&amp;#39;s strategy has been fully tested and is ready for &lt;b&gt;real trading&lt;/b&gt;. The second stage is implemented approach strategy or a trading robot that will trade the set algorithm or the trader selects the manual bidding process on a signal received from created strategy.&lt;br /&gt;The trader connects the e&lt;b&gt;xport of stock market data&lt;/b&gt; obtained in real time to the program in which his trading strategy is created. The strategy processes the data and based on the result, sends a signal to submit applications.&lt;br /&gt;Again, what alarm action strategy can be done manually by a trader, and can be delegated to a &lt;b&gt;trading robot&lt;/b&gt;, which places bids automatically according to the algorithm, for example in systems like &lt;em&gt;S#.Designer, MT4, TSlab&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109903/Trade_Strategy.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109903/Trade_Strategy.jpg?size=800x800" alt="Trade_Strategy.jpg" title="Trade_Strategy.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It should be &lt;b&gt;remembered&lt;/b&gt; that the creation of a trading robot does not relieve the &lt;b&gt;trader of responsibility&lt;/b&gt; for the trade itself. The trader must &lt;b&gt;constantly monitor the work&lt;/b&gt; of his robot, edit the terms of transactions according to the changing situation in the market. [nerd]  Should be said, when &lt;b&gt;working on long time frames&lt;/b&gt;, comparable, for example, with an hour, the automation of placing orders may disappear, since the trader is able to correlate and manage the trade on &lt;b&gt;long periods&lt;/b&gt;.&lt;br /&gt;Any chosen direction of algo trading can undoubtedly bring profit to the trader, but the approach should be deep, not just at the level of the chosen algorithm, it is necessary to take into account the tools on which the trade will be conducted, the software. An important rule is analysis and testing, it &lt;b&gt;always minimizes your losses&lt;/b&gt;.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/10917/</id>
    <title type="text">How to plot the indicator in the program Hydra.</title>
    <published>2019-08-08T13:13:48Z</published>
    <updated>2019-08-08T13:13:48Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Edu" />
    <category term="Trading robots" />
    <category term="Trading systems" />
    <category term="historical data" />
    <category term="market data" />
    <category term="trading" />
    <category term="exchange" />
    <category term="creating trading robott" />
    <content type="html">To simplify the work with indicators, you can build and save them in &lt;a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/"&gt;Hydra&lt;/a&gt;. &lt;br /&gt;Let&amp;#39;s consider the order of construction of the chart of the indicator of exchange trade on the example of the indicator SMA (simple moving average):&lt;br /&gt;1. Run the Hydra program.&lt;br /&gt;2. Select the stock data source. (1.1)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109486/1.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109486/1.png?size=800x800" alt="1.png" title="1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Right-click, and in the drop-down list select View Downloaded (1.2)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109489/2.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109489/2.png?size=800x800" alt="2.png" title="2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Select the “chart” icon and plot the history of stock quotes (1.3) (1.4)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109493/3.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109493/3.png?size=800x800" alt="3.png" title="3.png" /&gt;&lt;/a&gt;                    &lt;a href='https://stocksharp.com/file/109487/4.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109487/4.png?size=800x800" alt="4.png" title="4.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5. Right-click in the chart area and select the Indicator item. (1.5)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109490/5.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109490/5.png?size=800x800" alt="5.png" title="5.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. From the drop-down list, select the indicator of stock quotes we need, in our case SMA, and click OK. (1.6)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109495/6.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109495/6.png?size=800x800" alt="6.png" title="6.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. On the market data chart, the stock quotes indicator curve will be displayed. (1.7)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109488/7.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109488/7.png?size=800x800" alt="7.png" title="7.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8. To plot the SMA indicator chart separately, we need to click the “+” button in the upper part of the stock quotes history chart area, and in the field that opens below click the right mouse button. Select the Indicator item, select the required indicator in the list and click OK. (1.8) (1.9)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109494/8.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109494/8.png?size=800x800" alt="8.png" title="8.png" /&gt;&lt;/a&gt;                    &lt;a href='https://stocksharp.com/file/109491/9.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109491/9.png?size=800x800" alt="9.png" title="9.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9. The stock quotes indicator chart will be plotted in a separate window. (1.10)&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109492/10.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109492/10.png?size=800x800" alt="10.png" title="10.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The considered functionality of the Hydra program allows you to apply indicators calculated from the downloaded market data on any platform, which makes it easier to work with trading algorithms.&lt;br /&gt;Enjoy using the program.&lt;br /&gt;</content>
  </entry>
</feed>