Manuel Trading Starter Script For Wunderbit
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © BasicTraderTolga

//THIS CODE IS WRITTEN FOR WUNDERBIT TRADING

//This script can be used for starting a position entry either it is long or short at any time by using alerts. 
//You need to setup your long and short alerts than pause them. When you decide to enter a position,
//simply run the alert you are willing to open a trade either long or short from the alarms control panel.
//The script immediately send the alert message to bot via webhook. 
//The close price must be greather than 0.0000000000001 to open a position.
//Dont forget to turn off the alarm after entering the position. Or it will keep sending the alert message each candle.

//@version=5
indicator("Manuel Trading Starter Script For Wunderbit", overlay=true)
plot(close)

longcondition= close >0.0000000000001
shortcondition= close >0.0000000000001


plotshape(longcondition, "Long", shape.triangleup, location.belowbar, color=color.green, size=size.normal)
plotshape(shortcondition, "Short", shape.triangledown , location.abovebar, color=color.red, size=size.normal)


golong =  longcondition == 1 
alertcondition(golong, title='GoLong', message='Your Enter Long Message')
goshort =  shortcondition == -1 
alertcondition(goshort, title='GoShort', message='Your Enter Short Message')