The subject line pretty well covers it: I am trying to figure out how to calculate the absolute Angle/Slope of the actual 'Line' of Line Charts as opposed to the CandleSticks or Bar charts: both in real time on every tick as well as being able to specify the number of ticks or to calculate the slope between the trade closing prices in the various time frames Likewise to provide the absolute angle for any given prior point or range of the charts. I need it to be 'absolute' at all times as opposed to the slope being changed by the scaling of the chart or the aspect ratio of the monitor.
I wonder if there is actually a data feed for this variable directly from the broker as it is one of the 3 standard currency pair indicators that are on all (MQ) charts?
(8 >) Thanks to all who are able to assist me with this (< 8)
PS: If anyone knows how to calculate the exact angle of the Line in the line charts ahead of the current moment in time, well then .. . LoL
The script is intended for automatic placing of Sell Stop pending orders, Stop Losses and Take Profits on the user specified levels. This script is not that useful as "Virtual pending buy stop", since short positions are opened as Bid price crosses the levels. Thus spread widening is not dangerous. Nevertheless, you need to have this script to prevent unwanted hitting of the Stop Loss levels.
Automation of the process of placing the Sell Stop pending orders, Stop Losses and T
MetaCOT 2 is a set of indicators and specialized utilities for the analysis of the U.S. Commodity Futures Trading Commission reports. Thanks to the reports issued by the Commission, it is possible to analyze the size and direction of the positions of the major market participants, which brings the long-term price prediction accuracy to a new higher-quality level, inaccessible to most traders.
These indicators, related to the fundamental analysis, can also be used as an effective long-term filte
Ichimoku Kinko Hyo is a purpose-built trend trading charting system that has been successfully used in nearly every tradable market. It is unique in many ways, but its primary strength is its use of multiple data points to give the trader a deeper, more comprehensive view into price action. This deeper view, and the fact that Ichimoku is a very visual system, enables the trader to quickly discern and filter "at a glance" the low-probability trading setups from those of higher proba
A script for opening a grid of orders
If you need to quickly open several pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) on a certain distance from the current price, this script will do all the routine for you! Allow AutoTrading before running the script.
Run the script on a chart.
Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Price for open - open price. If set to
The indicator marks supports and resistances of each rebound, also the maximum price and the minimum price of the day.
It has a basis for developing strategies, as well as for a good technical analysis.
It is very easy to detect trends, channels, trend changes, breaks and other events.
It works in any timeframe as in any type of market.
No additional parameters are needed.
Does not support hedging orders on a single symbol on MT5
MultiMTCopier MT5Receiver - new and improved multi-terminal positions copier for your real/demo account, works faster, requires less, flexible in managing and upgrading, new information support. This Expert Advisor is designed for the MetaTrader 5 terminal, trades will be copied into this terminal.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user attention
We present you an effective software solution for arbitrage between brokers.
The Arbitrage on the market became widespread due to decentralization. There are many liquidity providers, whose quotes differ for various reasons. By tracking the dynamics of changes in the quotes of different brokers, it is possible to determine the delayed and leading brokers, thereby predicting the future prices of the delayed broker for a short time. Knowing these prices and using efficient built-in software filte
Trade Copier Pro is a powerful tool to copy trade remotely between multiple accounts at different locations over internet. This is an ideal solution for signal provider, who want to share his trade with the others globally on his own rules. One provider can copy trades to multiple receivers and one receiver can get trade from multiple providers as well. The provider can even set the subscription expiry for each receiver, so that receiver will not be able to receive the signal after that
The indicator displays economic news on the currency chart (the appropriate data must be downloaded from the Internet - please see the download instructions on the screenshots provided). The list of currencies (countries) is customizable. By default it shows all currencies. The main parameters come with a built-in description. In addition, there are parameters for advanced users. News items are divided into 3 categories by degree of importance. There is a great flexibility in display parameter s
The indicator determines the inside bar and marks its High/Low. It is plotted based on the closed candles (does not redraw). The identified inside bar can be displayed on the smaller periods. You may set a higher period (to search for the inside bar) and analyze on a smaller one. Also you can see the levels for Mother bar.
Period to find Inside Bar — the period to search for the inside bar. If a specific period is set, the search will be performed in that period. Al
Auto Trade Copier is designed to copy trades between multi MetaTrader 5 accounts/terminals with 100% accuracy.
With this tool, you can act as either a provider (source) or a receiver (destination). All trading actions will be copied from the provider to the receiver with no delay.
Note: Demo version for testing can be downloaded at: https://www.mql5.com/en/market/product/5006.
Followings are highlight features:
Switch between Provider or Receiver role within one tool.One provider can copy tr
The fractal analysis of the markets is used in the indicator operation algorithm. According to the fractals theory, after the breakthrough of the fractal level confirmed by the closing price located below or above the fractal, the trend wave in the direction of the breakthrough starts to develop. Until the fractal has been passed in the opposite direction, the trend is considered to be acting even if the price is flat or moves backwards. If a bullish fractal has been previously broken through on
MACD All MAs-14 is a MACD indicator that allows choosing usual parameters of the standard MACD (constructed from EMA) as well as the type of the moving average to be applied: up to 14 different types.
You can select 9 standard MAs available in MetaTrader 5 - SMA, EMA, SMMA, LWMA, DEMA, TEMA, Frama, VIDYA, AMA, TRIX, and 4 non-standard - LRMA, HMA, JMA, AFIRMA.
Method MA - select the type of moving average to be displayed in the current graph. Period slow MA - the number
COSMOS4U Volume indicator facilitates your trade decisions. It gives confirmation of the running movement and market trends. It highlights current and past accumulation and distribution volumes, comparing them to moving average volume and the highest volume. In addition, it identifies and marks nuances as well as convergence and divergence patterns of bears and bulls in order to provide the market trend and price ranges.
The supported features are as follows:
Fast Volume Moving Average Slow
qAutoActivation indicator is one of the main components of Trading Chaos Expert trading expert panel. The indicator displays the current trend on the current timeframe. This is the first indicator that is attached to the chart and saved in the trading complex template. It defines what trading signals from the expert panel should be automated for market entry (bullish or bearish ones).
When the trend changes, the indicator changes the line color and, at the same time, highlights the trading pane
The main purpose of the indicator is to detect and mark on a chart the following trade signals described in "New Trading Dimensions":
Bullish and bearish reverse bars with angulation (including squat). Bars in the green and red zones according to the histogram color of Awesome Oscillator and Accelerator Oscillator. Bars in the grey zone, when the Awesome Oscillator and Accelerator Oscillator histograms below these bars have opposite directions. Blue squat bars on chart independent of the
Market Profile defines a number of day types that can help the trader to determine market behaviour. A key feature is the Value Area, representing the range of price action where 70% of trading took place. Understanding the Value Area can give traders valuable insight into market direction and establish the higher odds trade. It is an excellent addition to any system you may be using.
Blahtech Limited presents their Market Profile indicator for the MetaTrader community. Inspired by Jim Dalton’s
Auto Trade Driver is an automatic powerful tool (run as Expert Advisor) that helps you to manage risk and control orders and maximize your profit in multi-protect/trailing-stop rules.
This tool is very useful for both scalpers and trend followers. It not only calculates the trade risk exactly, but also protects and maximizes your profits in real-time.
With this tool, the only thing you have to do is to enter trade by your own strategy, then it will auto-drive your position with exit strategy y
The script is intended for automatic placing of Buy Stop pending orders, Stop Losses and Take Profits on the user specified levels.
Avoiding unwanted entering a long position in case of false hitting the level as a result of widening of the spread by a dealing center. Avoiding unwanted triggering of a Stop Loss in case a quote pierces a significant level (fractal) without further confirmation with the close price. Setting a necessary virtual order and entering the market in
The script allows users to easily close positions if their profit/loss reaches or exceeds a value specified in pips.
Please set slippage value first. Sometimes some positions do not close due to high volatility of the market. Please set larger slippage or restart the script.
Exp COPYLOT CLIENT for MT5 is a copier for the МetaТrader 5 platform. It copies forex trades from any accounts. Including those from terminals МТ5 and МТ4.
Install the Expert Advisor in the terminal where you want to copy trades. Specify any text label name as pathRead, for example, "COPY". This should match the master terminal (to bind the two terminals). To copy trades, you need to install the free Master copier in the terminal from where you want to copy the trades: COPYLOT
Averager is intended for averaging your deals that has had a drawdown or had gone against the trend.
An example of operation of the averager in an Exeprt Advisor in the MetaTrader 5 terminal: Exp - TickSniper. The system is identical to the averaging system created for MetaTrader 4. A demo version of the averager for MetaTrader 5: Averager DEMO.Note: this is not an automated trading system (the EA doesn't work in the strategy tester). It monitors your deals and averages them in case o
Does not support hedging orders on a single symbol on MT5
MultiMTCopier MT5Source - new and improved multi-terminal positions copier for your real / demo account, works faster, requires less, flexible in managing and upgrading, new information support. This expert is designed for terminal MetaTrader5 from which the position will be copied.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user attention Buttons for re
Fast Copy MT5 allows to copy trades between different MetaTrader 5 (netting)(hedge) and MetaTrader 4 accounts in any direction and amount, quickly and easily (without loading the system).
Any type of copying is available
MT5 —> MT5 MT5 —> MT4 MT4 —> MT5 MT4 —> MT4
* For any interaction with the MT4, it is necessary to additionally install Fast Copy MT4
One tool for sending and receiving transactions: [master] > [slave] operation mode can be selected in
The script creates account summary report in a separate window.
The report can be created for all deals and on deals for selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The script creates account summary report in a separate window.
The report can be created for all deals and for deals of the selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The indicator represents an additional chart window with a lower time frame where bars are combined into groups that are equivalent in time to main chart time frame. Bars are synchronized by the right hand side of the window, i.e. the time of the last bar in the main window corresponds to the time of the last bar group in the additional window. The maximum number of groups is 16; the maximum number of bars combined into groups in the additional window is 256. Limitations on the numbers are requi
Safe Automatic is a safe MetaТrader 5 trading robot working autonomously on a VPS server. The good results are achieved on EURUSD.
The EA applies modified versions of a trend-following strategy, half-pyramiding, scalping, Elliott Wave method and speculating trading with a deposit protection. The EA switches the strategies automatically. The program also takes the news calendar into account: the robot does not enter the market in a 10-minute interval before and after a news rel
The most profitable trend traders are the ones who know how to recognize not only the market trend, but also the trading opportunities that arise once a trend has been established. The Pz Trend Trading indicator has been designed to profit has much as possible from trends taking place in the maket.
Established trends offer dozens of trading opportunities, but most trend trading indicators neglect them completely, and leave the trader completely uninformed about what the market is doing during a
Virtual TrailingStop is an Expert Advisor that manages trailing stop without sending its information to the broker server.
EnableVirtualTrailingStop: enable or disable whole function VirtualTrailingStop: the pip use for determine how far the Virtual Trailing Stop will placed calculated from current price StartFromBreakEven: true/false. If true, Virtual Trailing Stop will placed after breakeven BreakEvenPoint: point profit from order open price where the Virtual T
The Expert Advisor implements the classic "triangular arbitrage", which is successfully used by hedge funds.
"Triangular" arbitrage refers to a class of neutral-market strategies, in which the profit or loss of open positions does not depend on the direction of the market movement as a whole.
In order to take profit, the EA exploits a weak spot of market makers - it utilizes the difficulty of balancing cross rates of all currency pairs.
The advantages of the strategy are the following:
Trend Slope Retracement is what I think you are looking for.
Likewise thanks for the info on the ‘Trend Slope Retracement’ I’ll look into it. I assume that this is a MQL4 function. Do you know if it is ‘absolute’ in the sense that it will return the actual slope accurately regardless of the scaling of the chart or the aspect ratio of the monitor? If not, then I would need to know that info and recalculate the absolute correct angle from it. This would significantly increase the load on the computer which I already have concerns about without having to compensate for these ‘error inducing factors’. Though I suppose I would only have to calculate it once for each chart and then use this factor to correct it. The downfall of this approach is that I would think that the ‘scaling’ of charts changes dynamically to suit the current existing conditions. I’m not concerned about the slope appearing correctly in a chart, but want the correct value to utilize in further calculations, functions, operations and conclusions.
One thought I had on this was that if I was unable to find a function to do this was to use a moving average indicator with a time period of 1 with no offset and utilizing a simple curve with the closing value. This exactly follows the ‘line’ in the ‘Line’ chart mode. But this approach would also suffer from the error inducing factors of chart scaling and monitor aspect ratio. Though I would like to use the ‘tick by tick’ time frame this approach may put too much of a load on the computer and bog it down to the point where it is useless, especially as I want to use it on 15 or 20 charts simultaneously.
Thought I'd seen a post from DougRH4x regarding FXigor, but may be losing the plot.
In my search of MQL4 on this subject, I found one where either Phy I believe it was, who has over 1200 postings so trying to find it again by that route is a formidable task; or tt might have been NakedBear, but I don’t think it was him. I hope he has grown at least some fur for winter (< 8) Whoever it was they posted a short bit of code in response to a similar question but I am unable to find it again.
As I said in my initial posting on this subject that I strongly suspect that as it is one of three possibilities for chart illustration, that there must be a constant streaming data flow from the brokers, which is then calculated by MT to write to the chart in the mode that the user selects. Thus this functionality must be part of the MT4 client code. The question is what that streaming data flow is and how to access it as directly as possible and utilize it.
I found the articles on the wWw about ‘Trend Slope Retracement’ by FxIgor and I agree with you that is probably what the reference to TSR (https://forum.mql4.com/27156) was that I found in my search for ‘How to calculate the absolute angle of the 'Line' Chart both in real time and for previous points and ranges in the chart ? == https://www.mql5.com/en/forum/121563 .
I erroneously made that assumption that the info you gave me on TSR was for the calculation of the absolute angle.
Ah communication at its finest LoL I’m guilty of making that incorrect assumption, and I’m sure you know the clique about making assumptions. Well I got caught out by it.
But that still leaves me with the qundry about how to find the Abolute angle of the 'Line' in Line Charts.
Thanks for the info and TTFN (TaTa for Now (< 8)
You can always derive the angle quite simply, but for it to be 'absolute' requires a fixed baseline, probably using minutes
The calculation is thus time (as a constant number of minutes) as the base of a triangle, the 'opposite' (i.e. vertical) side of the triangle calculated as price-change (up or down) in that time
You now have opposite/adjacent giving you the tangent ratio and hence the angle (if you really want it)
On similar posts I have often said that the tangent ratio alone may be enough
I've previously described angles as arbitrary, and I'll have another go at explaining why. Let's boil it down to the simplest possible terms, and say that you have two data points - the closes on two consecutive days - and you want to find the angle of the line connecting them. And you decide to do this manually, on paper. (It's no different in principle to having a computer do it for you.)
Your data points are 1.4328 on November 2nd, and 1.4562 on November 3rd. Your first decision is how far apart to draw the days on the x axis of your manual chart. 10cm apart? 20cm? 5cm? Once you've made that decision, you now need to choose a scale for the y axis. How far apart are 1.4328 and 1.4562 going to be? 10cm? 20cm? A metre?
Each of these decisions affects the angle of the line you end up drawing between the two points. Unless you have a reason for choosing the scale of each axis - i.e. some particular significance attached to choosing 5cm or 20cm - then the angle of the line between the points is arbitrary. And meaningless, except in relative terms compared with other angles drawn using the same scale - at which point all you have is a cumbersome way of comparing growth over a period. And, even if you do have a rationale for selecting a scale, you've then got the additional problem that scales in pixels can vary in their visual representation from one computer monitor to another...
Hi and thanks for responding,
I'm familiar with trig and am able to calculate the needed angles from the data, though I am wondering about calculus and integration capabilities in MQL as well. From other info in this forum on this topic, the problem of the distortion and the variance from the absolute angle due to the dynamic scaling of the charts as well as the aspect ratio of the monitor in use have been accurately brought to light as factors that affect and distort the absolute angle of the slope (dynamically) to represent it on the charts. Also as you correctly point out I will have to decide on and fix the scales of the charts that are optimal for my purposes. I do not care about the charts and the angles portrayed on them at all. I am concerned with consistent and reliable mathematical results, thus factors such as pixels are completely irrelevant and meaningless in this context. Though I will be very glad when I get my very high resolution professional graphics monitor repaired and up and running again and can send this horrible one to the recycler where it belongs. I literally cannot always make out the prices on the right hand side of the charts accurately regardless of what I do on this old monitor )< 8) The only worse one I have ever had was a piece of slate (< 8)
I am also looking for a sampling resolution much higher and finer than 1 minute. Down to the tick level, though this will be an adjustable variable both for operation of the EA as well as making adjustments to make allowances for what data feed and the computer can handle and process in real time without bogging down. As the ‘Line’ chart is one of the three types of chart representations in MT4, I would think that this info must be part of the streaming data feed from the broker and I’m wondering if this isn’t streamed in AS an angle which I would then utilize directly, with a compensating fixed factor if needs be, in Isochronous time as opposed to the Delta (differentials) in this data at (fairly) regular intervals. I only care about the Delta T & $ = change in time verses the change of price in Isochronous time. I want to be able to pull this info directly off of the broker feed and access and utilize it with the minimum prior processing by MT4 before I can process it. Using a one minute moving average with the ‘simple’ representation method at the closing/current price with no offset is identical to the angles of the ‘Line’ in a one minute line chart of as opposed to a bar or candlestick chart gives a line pretty well identical to what I am looking for, though as I said, I do want a shorter time frame than one minute. Though we know that if the data feed and the computer are not lagged, bogged down, and having drop outs the line/level/price does constantly change as opposed to being stationary until the fixed time intervals that the chart is using has elapsed and only then moves at these quantum levels. In this matter, from what I have heard of MQL5, they have done away with a fixed number of options of time intervals. Also wnat to obtain as direct access as is possible in Isochronous time for the Bid and Ask prices at the same resolution with the minimum interference and processing of the MT4 terminal before I utilize it as well. If I have no other choice, which I don’t think is the case, I can lock the charts to a fixed 1 to 1 ratio is one option to handle the distortion that the dynamic scaling of the ‘charts’ brings into it. The aspect ratio of the monitor can be factored in if needs be by a simple fixed ratio, though not a preferable one due to the further needless added processing load and overhead to calculate this and ‘write’ it onto the charts on the monitor. As I said I don’t care about the charts at all and most likely will not even use them nor any indicators if at all possible. But the problem is how to utilize the EA without charts as they generally work by attaching them to charts. I did open a demo account on Alpari UK once and was amazed that for such a well known ForEx broker there implementation of MT4 was so poor that they did not have any charts at all available to utilize that I could find. But it this is the case, then it confirms my ideas and illustrates that it would be possible to do what I want without charts at all. If I can access and utilize the info directly from the data stream that I want to use without charts at all, it will significantly cut down much needless processing load and overhead which is important because the EA will need to process and calculate the data from as many ForEx currency pairs as possible (>=20) in as close to Isochronous time as I can get it so that the computer can respond as Isochronously as possible without lags.
I see in the Tools menu of MT4 that there is the ability to make trades from there with no charts.
The question is now how to utilize an EA without any charts?
Well you just replied to a 2 year old thread didn't you?! But I'm not sure what the age of the thread has to do with asking what scale the Trend by Angle tool uses in a similar thread.
At least I just didn't post a question blind without trying to do some research (as everyone on forums always says to do) first.