Hello everyone, dear friends and experts!
I have to ask you. I want to test my strategy for a breakdown of the level and for this great (
) idea I need EA to see the results on the history.
I am attaching two versions of the Snik TrendLine Expert Advisor to this post. Version 2.2 is simplified - there are no stops, trailing and price change angle. Accordingly, version 2.41 is more complex.
What I would like in a modified adviser:
1. It is very important - the Order should open immediately upon breaking the trend line, and not on the next candle as in these advisers. An example of an adviser where an order is opened immediately at the breakdown of a trend line is cm-LINES, (manual set trend lines).
2. The current order should not be closed when the opposite signal appears.
3. From the settings we need save a fixed stop
4. Remove (or be able to turn off) the trailing stop
5. Remove the price change angle (TNG_Line_Res(and SUP)_max)
6. Be sure to save from existing settings:
Period_Trend_ALL_Bar = Period in bars - the number of bars on which the trend lines of support and resistance will be built;
Last_Bar = The number of last bars that do not participate in the construction of lines
LifeTime_SUP_Bar = The lifetime of the crossed support vector after crossing is in bars
LifeTime_RES_Bar = The lifetime of the crossed resistance vector after crossing is in bars
Many thanks to everyone who can help! You are best!
I have to ask you. I want to test my strategy for a breakdown of the level and for this great (

I am attaching two versions of the Snik TrendLine Expert Advisor to this post. Version 2.2 is simplified - there are no stops, trailing and price change angle. Accordingly, version 2.41 is more complex.
What I would like in a modified adviser:
1. It is very important - the Order should open immediately upon breaking the trend line, and not on the next candle as in these advisers. An example of an adviser where an order is opened immediately at the breakdown of a trend line is cm-LINES, (manual set trend lines).
2. The current order should not be closed when the opposite signal appears.
3. From the settings we need save a fixed stop
4. Remove (or be able to turn off) the trailing stop
5. Remove the price change angle (TNG_Line_Res(and SUP)_max)
6. Be sure to save from existing settings:
Period_Trend_ALL_Bar = Period in bars - the number of bars on which the trend lines of support and resistance will be built;
Last_Bar = The number of last bars that do not participate in the construction of lines
LifeTime_SUP_Bar = The lifetime of the crossed support vector after crossing is in bars
LifeTime_RES_Bar = The lifetime of the crossed resistance vector after crossing is in bars
Many thanks to everyone who can help! You are best!
Attached File(s)