MACD lines and histogram for the Impulse trading system.
The idea:The Inertia is defined by Line input parameter:
Other input parameters:

VisualOpenOrderWithMM
Drag & Drop the script at chart on point where StopLoss should stay. Script will compare desired StopLoss with the current price and determine the type of the order - Buy or Sell. The next step is calculating the volume according Free Margin and the Risk
Spectr
Spectr