LONNV #: how do optimization this EA . trend object cannot optimize. Anyone optimize this EA?
I have already answered you in another thread of yours about that. You will have to use the line equation "y = mx + c" instead of the Trendline graphical object, which will also be much faster than using a graphical object.
I have already answered you in another thread of yours about that. You will have to use the line equation "y = mx + c" instead of the Trendline graphical object, which will also be much faster than using a graphical object.
LONNV #: did you tested this equation in real practice?
Obviously yes! It is the most basic of equations to use in trading. It is the basis for calculating trend lines, exponential moving averages and much more.
Obviously yes! It is the most basic of equations to use in trading. It is the basis for calculating trend lines, exponential moving averages and much more.
how calculate in negative slope trendlime value.
example downtrend, 1st point is 105 (10thcandle)2nd point is 100(thcandle2nd candle), as equaltion, it is negative .
LONNV #: how calculate in negative slope trendlime value. example downtrend, 1st point is 105 (10thcandle)2nd point is 100(thcandle2nd candle), as equaltion, it is negative. y = m*x + y
m= -(105-100)/ (9index-1index) = -5/8 = -0.6 x = value of 1st index point = 9. y = 100. is it correct?
y = m * x + c
Let y = price Let x = bar index
[price] = m * [index] + c
Given:
Price at Index 9 is 105 (10th bar) Price at Index 1 is 100 (2nd bar)
c = y - m * x = 105 - m * 9 = 100 - m * 1 = 99.375
Equation:
y = 0.625 * x + 99.375
[price] = 0.625 * [index] + 99.375
Example:
What is trend-line price at bar index 5?
[price @ 5] = 0.625 * 5 + 99.375 = 102.5
you open the light for me.thanks. Can use this style of calculation in both positive and negative slope? because trendline frequently change from positive to negative slope vise versa.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
The default in total profit to close all martingale orders is 50...is that 50 pips? 50 pippettes or $50.00?
I am not a coder but it must be somewhere here:
***Its Just a number that is in closeprofit formula.
closeprofit in $ = OrderLot * 50
Please edit your post and
use the code button (Alt+S) when pasting code
Thank you for interesting in my ea
Safe Trend Scalp:
Author: Faeze Bakhshayesh
how do optimization this EA . trend object cannot optimize .
Anyone optimize this EA?
I have already answered you in another thread of yours about that. You will have to use the line equation "y = mx + c" instead of the Trendline graphical object, which will also be much faster than using a graphical object.
I have already answered you in another thread of yours about that. You will have to use the line equation "y = mx + c" instead of the Trendline graphical object, which will also be much faster than using a graphical object.
did you tested this equation in real practice?
Obviously yes! It is the most basic of equations to use in trading. It is the basis for calculating trend lines, exponential moving averages and much more.
Obviously yes! It is the most basic of equations to use in trading. It is the basis for calculating trend lines, exponential moving averages and much more.
how calculate in negative slope trendlime value.
example downtrend, 1st point is 105 (10thcandle)2nd point is 100(thcandle2nd candle), as equaltion, it is negative .
y = m*x + y
m= -(105-100)/ (9index-1index) = -5/8 = -0.6
x = value of 1st index point = 9
y = 100
is it correct?
m= -(105-100)/ (9index-1index) = -5/8 = -0.6 x = value of 1st index point = 9. y = 100. is it correct?
y = m * x + c
Given:
Therefore:
Equation:
Example:
y = m*x + c
Given:
Therefore:
Equation:
Example:
you open the light for me.thanks. Can use this style of calculation in both positive and negative slope? because trendline frequently change from positive to negative slope vise versa.