You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Script:
The result is highly dependent on the Deviation parameter (standard deviation).
Same graphs:
The default parameters produce a similar dependence - from the square. But it is completely broken when the Deviation parameter is changed sideways.
I checked market prices on majors, the dependence on the square is retained.
Повтор:
Советник считает количество колен ЗигЗага (не менее Pips) и записывает в файл:
Запускается в тестере с оптимизацией:
График зависимости количества колен от их мин. размера (Pips):
Графики зависимости отношения вероятностей TP и SL (p(SL) / p(TP)) при отношении TP / SL = Koef от размера SL
On a logarithmic scale, the graph is clearer, by the way. As for the relationship of TP and SL, then it is easier and more unambiguous to arrange a straightforward check in the same tester, making their ratio as a parameter, for example. For some reason it seems to me that for random entries the average total of transactions will always tend to the spread, with a minus sign, of course.
В логарифмическом масштабе график нагляднее, кстати, будет.
So it's simple...
Probability of TP = (SL - spread) / (TP + SL)
Probability of SL = (TP + spread) / (TP + SL)
Что касается взаимоотношений TP и SL, то проще и однозначнее в интерпретации устроить лобовую проверку в том же тестере...
As I copied the post from another thread, the old designations remain: TP and SL. It is worth interpreting them as Pips1 and Pips2. The main conclusion is formulated in the Hypothesis.
I don't understand what you're counting... The probability of reaching TP and SL?
So it's simple...
Probability of TP = (SL - spread) / (TP + SL)
Probability of SL = (TP + spread) / (TP + SL)
Let's check - TP = 20, SL = 20 => P(TP)=(SL-2)/(20+20)= 18/40 = 0.45, P(SL)=(TP+2)/(TP+SL) =(20+2)/(20+20)=22/40 = 0.55So they are not equal :))))
Поскольку копировал пост из другой темы, то остались старые обозначения: TP и SL. Стоит их интерпретировать, как Pips1 и Pips2. Основное заключение сформулировано в Гипотезе.
Corrected the post to the correct interpretation.
Проверим - TP = 20, SL = 20 => P(TP)=(SL-2)/(20+20) = 18/40 = 0.45, P(SL)=(TP+2)/(TP+SL) =(20+2)/(20+20)=22/40 = 0.55То есть не равны :))))
When you open a position, you are already at a loss by the amount of the spread....
When you open a position, you are already at a loss by the value of the spread....
What does probability have to do with it?
А вероятность тут причем?The probability is 0.5 if the distances the price has to travel are equal. SL-spread=TP+spread