[Archive!] Writing an advisor for free - page 79

 
Vinin:

Repeating the same post in different threads is spam. The punishment is a ban (this is a warning for now).
All found a branch I will write any expert or indicator for free . I will communicate there now. I will communicate there for free.
 
Hello all! Very earnest request! There is an expert advisor, but it works with the indicator LSMA in color, and this turk very slow system. please replace it with another indicator 35_MA_SquizeMA_Ed_.I do not know how this turk will behave, but if he brakes, then put simple wizards.
I will be very grateful to you!
The owl and the induke are in the attached file.
Files:
files.zip  7 kb
 
sergeev:

throwing a link - to a screen loupe



Thanks for the link and for the tip.
 
I will write an interesting advisor for free, contact us or email mqlskeptik@yandex.ua
 
I apologize for my sharpshooting, but I'll try to explain it to you in detail.
If I choose only long positions.
1 . I place pending order
on the level of maximum of the last closed candle plus 3 points plus
distance equal to spread.
2 . Stop Loss is set to the minimum of the current day minus 3 pips .
3 . Take Profit should not be set.
4 . Trailing Stop should not be set.
5 . If the position is open, no new orders are placed.
6 . If position is closed by a stop loss, a new
pending order is placed at the level of the high of the last closed candle plus 3
points plus distance equal to spread, stop loss is placed at the low
of the current day minus 3 points, take profit is not placed trailing stop
is not placed if position is open new orders are not placed.
If I choose only short positions.
1 . I place pending order
on level of a minimum of the last closed candle minus 3 points.
2 . Stop Loss is set at the high of the current day plus 3 pips plus
a distance equal to the spread.
3 . Take profit should not be set.
4 . Trailing Stop shall not be set.
5 . If the position is open, no new orders are placed.
6 . If position is closed on a stop loss, a new
pending order is placed on the level of the minimum of last closed candle minus 3
points, stop loss is placed on the maximum of the current day plus 3 points plus
distance equal to spread, take profit is not exhibited trailing stop is not
exhibited if position is open new orders are not placed.
Many thanks in advance. )
 
Andrei26:
I apologize for my sharpshooting, but I'll try to explain it to you in detail.
If I choose only long positions.
1 . I place a pending order
At the level of maximum of the last closed candle plus 3 points plus
a distance equal to the spread.
2 . Stop Loss is put at the minimum of the current day minus 3 points.
3 . Take Profit should not be set.
4 . Trailing Stop should not be set.
5 . If the position is open, no new orders are placed.
6 . If the position is closed on a stop loss, a new pending order is placed
A new pending order is placed at the level of the maximum of the last closed candle plus 3
Points plus the spread, stop loss is set to the minimum of the
the current day minus 3 points, take profit is not set trailing stop
is not set if position is open new orders are not set.
If I choose only short positions.
1 . A pending order is placed
At the level of the minimum of the last closed candlestick minus 3 points.
2 . Stop loss is set to the maximum of the current day plus 3 pips plus
the distance equal to the spread.
3 . Take Profit should not be set.
4 . Trailing Stop shall not be set.
5 . If the position is open, no new orders are placed.
6 . If the position is closed on a stop loss, a new
A new pending order is placed at the level of the minimum of the last closed candle minus 3 points.
Points and the stop loss is set to the maximum of the current day plus 3 points plus
a new pending order is placed at the level of the minimum of the last closed candlestick minus 3 pips, stop loss is set at the maximum of the current day plus 3 pips and distance equal to the spread.
If my position is open no new orders are placed.
Many thanks in advance. )
Maybe this is what you meant?
Files:
aver_fix.mq4  4 kb
 
The indicator for the EA above.
Files:
aver.mq4  3 kb
 
grell Thank you very much, but the only thing that does not work, although I attached the indicator, I think all is done, but it does not put pending orders? Why is it so
 
Andrei26:
grell Thank you very much, but the only thing that does not work, although I attached the indicator, I think all is done, but it does not put pending orders? Why is it so
I do not know why.
 
Well, I have installed an indicator on the chart, I have set the period of 1, in the Expert Advisor also the period 1 and left the other parameters as standard, but nothing happens on the chart