ROBO_Trading

Robot WhiteBox ShiftMA

ROBO_Trading Updated   
This script of strategy is necessary for testing of parameters of the WhiteBox TradingBot.

Strategy

The blue line is SMA.
The lime line = SMA - the shift parameter (%).
Red line = SMA + shift parameter (%).

Strategy uses limit orders. For opening of positions and for closing of positions.

If the price is lower than the lime line - opens a long position.
If the price is higher than the red line - opens a short position.
The position is closed on the blue line (SMA). Long and short.
Release Notes:
+ interface
Release Notes:
+ Very dangerous checkbox. Only profit.
Release Notes:
+ arrows
Release Notes:
+ oc2 price source
+ pcma price source
Release Notes:
+ checkbox X100000000
Release Notes:
+mintick
Release Notes:
+ exchange
Release Notes:
+
Release Notes:
+ alt. Timeframe
Release Notes:
+ MA Type (EMA and VWMA)
Release Notes:
+WMA +ALMA
Release Notes:
+ color
Release Notes:
+ close shift
Release Notes:
+ cancel order
Release Notes:
+ PineScript v4
Release Notes:
+ MA Offset
Release Notes:
-bug

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?