Automated Trading Wait

wait()

duration

Waits for a fixed amount of time. When the time has passed, the command will complete and the next command in the sequence will be started.

Arguments
duration required time, defaults to 60s

The number of seconds to wait. Can be a number with optional time units...

Duration How long is it?
duration=10 10 seconds
duration=10s Also 10 seconds
duration=10m 10 minutes
duration=10h 10 hours

Example: Place an order in 10 minutes

myApiKeys(XBTUSD) {
    wait(10m);
    market(side=buy, amount=1000);
}

Waits 10m, then executes a market order.

Some images from Unsplash

About Alertatron.com

Your TradingView alerts, with charts, PM'd to you.

Get all your alerts from TradingView, sent to Telegram, Discord, Slack, Email or webhooks, with a chart snapshot attached.

Capture Charts

See a high quality chart with every alert, captured at the moment the alert was triggered. See exactly what the market was doing and make informed decisions.

Automate Trading

Trigger orders on popular cryptocurrency exchanges and trade 24/7. Access powerful algorithmic orders to maximise your profits.

Integrations

Connect your alerts to Telegram (channels, groups and private chats), Discord, Slack, email or send push notifications to other services with webhooks.

Easy To Setup

Nothing to install and no browser extensions. Captures alerts 24/7, even with your computer switched off. Be up and running in seconds.