I will write the indicator for free - page 101

 
Bogard_11:
Excel.

wrote a formula to determine the number of cells from the beginning of the cycle, need to check

set the price level in the settings


I have sent you the file in a message
 
Iurii Tokman:

right ?


Great! Can I have the source code for a test?
 
millioner8585:
Great! Can I get the source code for the test?

I can only email the compiled one to you, you can't delete it here

 
sent
 
Iurii Tokman:
sent
Thank you, testing...
 
I have an idea, I cannot write it down.
Two indicators MA 2pc and MACD.
Parsmeters are set, then
In the hourly chart there is a check of the MA, volume > 0, signal > volume, go to the MA at 15m when the Ma1 Ma2 is crossed from the top downwards, open a sell order. Stops, trailing stop, tp. Order closed, check 1 condition at 1h, if yes, entry at crossing 1 2 candle downwards, if 2 upwards, 1 downwards, also enter transaction, at crossing 1 2 candle upwards, wait for event.
If at the time of order, mas<0 and volume is greater than the signal, check ma that 1 2 downwards.

I looked at the history and got a working signal at these parameters. The profit is times more than the loss, the stopper is 600, the profit is 2-3 к. And there are fewer wrong signals. On average they give 1-3 signals on 4 pairs. If you do not let the robot run its course and control it, the losses will be even less.
 

Good day, dear programmers, I need an indicator to identify pivot points according to Larry Williams. The essence of the indicator:

The indicator should draw lines from the extremums from the highs to the lows and vice versa like ZigZag.

The short-term maximum (Kmax) - this is the maximum of the bar (high) on both sides of which the highs are lower (similar to a fractal, but 3 bars are involved here)

Short-term low (Kmin) - this is the minimum of the bar (low) on both sides of which the lows are higher.

Short-term high (Cmax) is a short-term high (Kmax) on both sides of which the short-term highs are lower.

A mid-term low (Cmin) is a short-term low(Kmin) on both sides of which the short-term lows are higher.

A long term maximum (Dmax) is a medium term maximum (Cmax) on both sides of which the medium term highs are lower.

Long-term low (Dmin) is the medium-term low (Cmin) on either side of which the medium-term lows are higher.

Important conditions: the market moves from maximum to minimum and vice versa, i.e., for example, there can't be two consecutive maximums and then a minimum. From high to low, from low to high, etc.

There is also the notion of an inside bar - it is a bar where highs (high) and lows (low) are situated inside the previous one and in such a situation such a pattern is considered an extremum if it is confirmed. To confirm the pattern in the example with a short-term high, the price should fall lower than the low of the bar we consider a short-term high. Everything with a short-term low is also in the mirror image. We ignore this pattern if the price in the example with the short-term high was higher than the (high) bar, which we consider as the short-term high.

The following parameters are required in the indicator: it is necessary that each extremum is highlighted with a different colour according to the hierarchy (Kmin,Kmax-Cmin,Cmax-Dmin,Dmax) and also the line width for these extrema should be set differently.

 
fxZigZag:

Good day, dear programmers, I need an indicator to identify pivot points according to Larry Williams. The essence of the indicator:

The indicator should draw lines on the extrema from the highs to the lows and vice versa like ZigZag.

The short-term maximum (Kmax) - this is the maximum of the bar (high) on both sides of which the highs are lower (similar to a fractal, but 3 bars are involved here)

Short-term low (Kmin) - this is the minimum of the bar (low) on both sides of which the lows are higher.

Short-term high (Cmax) is a short-term high (Kmax) on both sides of which the short-term highs are lower.

A mid-term low (Cmin) is a short-term low(Kmin) which both sides of the short-term lows are higher.

A long term maximum (Dmax) is a medium term maximum (Cmax) on both sides of which the medium term highs are lower.

Long-term low (Dmin) is the medium-term low (Cmin) on either side of which the medium-term lows are higher.

Important conditions: the market moves from maximum to minimum and vice versa, i.e., for example, there can't be two consecutive maximums and then a minimum. From high to low, from low to high, etc.

There is also the notion of an inside bar - it is a bar the highs (high) and lows (low) of which are within the previous one. In such a situation such a pattern is considered an extremum if it is confirmed. To confirm the pattern in the example with a short-term high, the price should fall lower than the low of the bar we consider a short-term high. Everything with a short-term low is also in the mirror image. We ignore this pattern if the price in the example with the short-term high was higher than the (high) bar, which we consider as the short-term high.

The indicator needs the following parameters: Each extremum should be highlighted in a different colour according to the hierarchy (Kmin, Kmax-Cmin, Cmax-Dmin, Dmax) and also the thickness of the lines for these extrema should be set differently.

Something you do not understand well. In the short extrema, yes, they alternate, but the pattern of highs and lows in the short and medium term is not correlated; there may be many highs at the top of the medium term and few lows at the bottom. If we show a channel, there will be a saw-tooth of short-term highs and lows evenly spaced, one higher than the other and there will be no medium-term highs and lows at the bottom. The adviser one does not write to the files, the other does.

Files:
 
Twin Xi:
I have an idea, I can't write it down.
Two indicators MA 2pc and MACD.
Parsmeters are set, then
In the hourly chart there is a check of the MA, volume > 0, signal > volume, go to the MA on 15m at the crossing of ma1 ma2 from the top downwards, open a sell order. Stops, trailing stop, tp. Order closed, check 1 condition at 1h, if yes, entry at crossing 1 2 candle downwards, if 2 upwards, 1 downwards, also enter transaction, at crossing 1 2 candle upwards, wait for event.
If at the time of order, mas<0 and volume is greater than the signal, check ma that 1 2 downwards.

I looked at the history and got a working signal at these parameters. The profit is times more than the loss, the stopper is 600, the profit is 2-3 к. And there are fewer wrong signals. On average they give 1-3 signals on 4 pairs. If you do not let the robot run its course and control it, the losses will be even less.

What is this? What is "volume"? What is a "signal"?

 
Vladimir Karputov:

What is it? What is "volume" What is "signal"?

   MacdCurrent=iMACD(NULL,PERIOD_H1,32,80,5,PRICE_CLOSE,MODE_MAIN,0);

Maybe I'm calling them wrong, it's a volume value

   SignalCurrent=iMACD(NULL,PERIOD_H1,32,80,5,PRICE_CLOSE,MODE_SIGNAL,0);

is the value of the signal.

The attached image shows this clearly in the graph


Files:
1.jpg  1290 kb