Работа завершена
Техническое задание
1. Add "Show Hidden" True/Fasle - mean in will show arrows that are out of the range. Default True.
2. Add color selection for hidden arrows. Set DimGray by default.
3. Add Min/Max K and D values for short/long in Stochastic block.
4. Add little arrows if Stoch match. Green for longs and red for shorts by default.
5. Add Buy/Sell logic
5.1. All - mean open position at all signals (current mode)
5.2. Filtered - mean open positions only at filtered signals (no DimGray signals)
5.3. Sequence All - open position if sequence found
5.4. Sequence Filtered - open position if sequence found using filteres signals only.
Example of Sequence Filtered found:
Example of Sequence All found:
What is sequence? It is a signal from Stoch then next signal from basic arrow with the same direction.
Example:
So if describe using words (or reading log file) it is this way:
EA: I have found Stoch Main line >15 and signal <15. drawing little green arrow and start waiting for Big Green arrow to open long.
For example another little green arrow come - start to wait for Big Green again. For example little or big Red come - do nothing.
It is lite READY -> GO! Little green is ready for Big Green, little red for Big Red. But there must be no other signals between.
NB: when EA wait for sequence to be complete it must check for ALL interrupting signals coming. Doesn't matter All or Filtered on.
Example: this is NOT start for long. Because it was Red ALL between (and little red). So cycle OR procced with next signal OR start a new cycle.