Avalanche - page 9

 
JonKatana писал(а) >>

I was even more wrong! In order for breakeven to always start at a distance equal to the initial level between the levels, the sum of order volumes in the profitable direction must be twice the sum of order volumes hanging in the negative direction.

kharko has almost correctly described it but he moved the point too quickly. The correct sequence of the example is as follows:

The first reverse - 0.01 / 0.02

Second turn - (0.01+0.03) / 0.02

Third turn - (0.01+0.03) / (0.02+0.06)

Fourth U-turn - (0.01+0.03+0.12) / (0.02+0.06)

Fifth turn - (0.01+0.03+0.12) / (0.02+0.06+0.24) and so on.


Ouch! That makes all the difference! :-)

Here it is, long written, with variable coefficient and attempted input filtering

https://www.mql5.com/ru/forum/105718

 
AlexSTAL писал(а) >>


Ouch! That makes all the difference! :-)

Here it is, long written, with variable coefficient and attempted input filtering

https://www.mql5.com/ru/forum/105718

Could you please comment on the parameters-
DeltaBands=5; DistanceBetweenOrders=20; Koef=2; TakeProfitPlus=7; TakeProfit1=10; TotalKacheli=100; FixedLots=0.1; OrderMagicNum=123;

 
sever29 писал(а) >>

Can you please comment on parameters
DeltaBands=5; DistanceBetweenOrders=20; Koef=2; TakeProfitPlus=7; TakeProfit1=10; TotalKacheli=100; FixedLots=0.1; OrderMagicNum=123;


Open Expert Advisor and read:

1) TakeProfit1 - Initial TakeProfit in pips, if it triggers, "System" starts a new cycle.
If not, it is replaced with TakeProfit. It can be equal to 0, then TakeProfit is used immediately.
2) DistanceBetweenOrders - the desired distance in points between the entry points of Buy and Sell orders.
3) TakeProfitPlus - desired profit in points.
4) Koef - coefficient of amplification of each pending order in swing. Range - from more than 1, to infinity.
Everything depends on the strategy and available funds. You must also remember about the rounding of lots when using fractional coefficients!
fractional odds!!! This is important!!!

The working TakeProfit is calculated according to the formula:

DistanceBetweenOrders + SpreadPoint
----------------------------------- + TakeProfitPlus
Koef - 1

For example, given a distance of 20 pips, the coefficient of 2, spread 3 and the desired profit of 7 pips, we obtain
(20 + 3) / (2 - 1) + 7 = 30 points

Working StopLoss is calculated according to the formula:

TakeProfit + DistanceBetweenOrders

For example, if TakeProfit is 30 and distance is 20 20 + 30 = 50 pips


Since we cannot set the number of lots greater than 999 in the program, we have to open several orders with the necessary total volume.
But we should remember that MetaTrader is not able to work correctly with such amounts!


DeltaBands is kind of an attempt to filter based on the Bollinger Bands indicator. If it's not trading or it's rare - increase this value
Just below in that thread there is an attached calculator

 
Tip for calculating the distance between the levels: you set the Daily period and the Average True Range indicator with a period of 365 (a year). We divide by three what the indicator in the upper left corner shows (the average daily price movement for the year).
For example, GBPUSD is moving on the average 240 points. So, we set levels at 240/3 = 80 pips. For EURUSD, we divide the range by three - and set orders at the distance of 60 pips from each other.
If the instrument's behaviour has changed a lot lately, we can decrease the calculation periods - we can set 30 (one month), 90 (three months) or 180 (half a year).
 
AlexSTAL писал(а) >>



taah, that's not it either... >> who else has what?

 
sever29 >>:


у Вас размр между ордерами 70 пп., от фонаря эт хорошо, но 70пп. много, попробуйте на фунто/баксе с шагом 20-25 пп.

Tried.

The 23p poundbucks size would have made a profit of 789 quid on the cents account for January :)

 
AlexSTAL >>:
Рабочий StopLoss вычисляется по формуле:

TakeProfit + DistanceBetweenOrders

There is no StopLoss and TakeProfit in Avalanche. The Expert Advisor does not work according to my algorithm.
Move the discussion of your Expert Advisor to his thread - it's flooding here.
 

You are 100% sure to fail.
With a 0.01 lot you need a deposit of at least $50,000 and you don't know if you'll get lucky.

 
JonKatana писал(а) >>
There is no StopLoss and TakeProfit in Avalanche. The Expert Advisor does not work according to my algorithm.
Move the discussion of your Expert Advisor to his thread - it's flooding here.


Yes on this
The stop and take line in it serve only for autoclosing when profit is reached
You can remove it and close manually or according to the algorithm
There are a million variations.

and it enters not with a pending order but with a market order - redo 10 seconds
 
sever29 писал(а) >>


taah, that's not it either... >> who's got anything else?


What exactly is wrong with it?