timetotrade

This is the TimeToTrade help wiki. Use the TimeToTrade Trigger Trading Technology™ to execute your trades when Price, Candle Stick, Trend Line, Volume and Technical Analysis chart conditions are met - no coding required. Trade directly in the world’s global markets. Backtest your Trading Strategies. Calculate your UK HMRC Capital Gains Tax liabilities. Manage your Investment Club.


Triggers and Groups

The following provides a description of Alert Triggers and how they can be Grouped and Sequenced to achieve various types of alert requirements.


Triggers

Trigger events form the basis of all alerts within the timetotrade platform. A simple example of a trigger event, is the price rising above 100. Alerts can consist of one or more trigger events. Where there is more than one trigger in an alert, the triggers are grouped together. See the trigger groupings section below for information.


There are 8 types of trigger events, all of which are based on two values interacting with each other. The first value is always an indicator and the second value can be an indicator or a constant value (such as '70').


An indicator can be as simple as the 'high' price, or more complicated such as the Weighted Moving Average of the RSI of the Low price. Trigger events are evaluated either on each tick during the interval, or once per interval either using a tick value during the interval or at the value at the close of the interval.


The following trigger events can be used to build alerts:

Trigger Description Evaluated as True

Rises Above /
Crosses Over

Evaluated as true when the first value goes from being below or equal to the second value, to being above the second value on the next interval.

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Falls Below /
Crosses Under

Evaluated as true when the first value goes from being above or equal to the second value, to being below the second value on the next interval.

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Increases By

Evaluated as true when the difference between the previous interval and the current interval is positive and is greater or equal to the second value.

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Decreases By

Evaluated as true when the difference between the previous interval and the current interval is negative and is absolutely greater or equal to the second value.

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Increases By Percentage

These are similar to the 'increase by' triggers, however the difference of the first value is given as a percentage (being between 0 & 100).

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Decreases By Percentage

These are the similar to the 'decrease by' triggers, however the difference of the first value is given as a percentage (being between 0 & 100).

Once per interval, either the close of the interval or if checked on each tick, when the conditions are met during the interval.

Above

Evaluated as true when the first value is greater than the second value.

On each tick during the interval if 'check on each tick' selected, or at the close of the interval.

Below

Evaluated as true when the first value is less than the second value.

On each tick during the interval if 'check on each tick' selected, or at the close of the interval.

When Triggers Are Checked

Triggers can occur at one of two different times, depending on configuration; the default is to check the trigger at the end of the Interval.

In addition to this, triggers can also be checked on each tick during the interval in real-time. These triggers, therefore, can occur at any time during the interval, for example, 1:31 pm on a day interval.

Real-time Trigger Caviats

Please note, that real-time triggers have subtle differences compared to triggers checked at the end of the interval.

  • The 'CLOSE' indicator refers to the price of the tick from the market.
    Whereas 'OPEN', 'HIGH' and 'LOW' are unchanged in their behaviour.
  • When back testing; real-time triggers are treated as triggers that get evaluated at the end of the interval.
    This difference in behaviour will lead to a difference in the performance of a strategy in the real world, therefore forward testing via simulated trading is recommended.
  • Real-time triggers can only occur once per interval (except 'above' and 'below' triggers).
    This means for a trigger with a month interval, if it occurred within the first minute, it could not happen again for another 30 days unless the alert is manually paused and reactivated.
    • Thus, if an alert has a reactivation time shorter than the interval of the real-time trigger, the alert still cannot trigger until the next interval of the trigger begins (i.e., the following calendar month for a one month interval).
  • Because the real-time trigger can occur at any point in the interval, groups and sequences with timeframes will need to account for the fact the trigger can happen in the first or last millisecond of the interval. Thus when in a group with a standard trigger the two triggers could occur within the same second, or an entire interval apart.

Intervals

The standard intervals are for example 1 minute, 5 minutes, 15 minutes, 1 day 'candles'. All standard intervals are divisible by the next larger unit of time. The units of time are:

  • seconds
  • minutes
  • hours
  • days
  • weeks
  • months
  • years


For example there are 12 x 5 second candles in a minute; there are 4 x 15 minute candles in an hour; there are 12 x 2 hour candles in a day. All of the standard candles can be divided without a remainder into the next larger unit of time.


Custom interval periods can be used such as 11 minutes. However it should be noted that if the interval period does not divide into the next larger unit of time, the last candle within the next larger unit of time will be shorter than the other candles. Using the 11 minute example, candles will be formed using price data collected between:

  • 09:00 -> 09:11
  • 09:11 -> 09:22
  • 09:22 -> 09:33
  • 09.33 -> 09:44
  • 09:44 -> 09:55
  • 09:55 -> 10:00

Note that the last candle does not contain a full 11 minutes of price data

Trigger Groupings

Groups.png

When there are multiple triggers within an alert, there are three different grouping behaviours to choose from. The choice of grouping determines how the alert trigger events are evaluated.


On all group types an optional time frame can be set. Doing so adds a requirement that the last trigger event must be evaluated as true within the specified time period from the first trigger event being evaluated as true.


Due to the possibility of the triggers in the group being from different exchanges around the world, the trigger event times are converted to UTC to account for timezone differences. Please note that the time frame will take into account weekends, holidays and closed hours such that a trigger event at 23:59 on Friday and a trigger at 22:01 on Sunday are 2 minutes apart. Not 48 hours, 2 minutes apart. If the group spans multiple exchanges; then holidays and close hours are only used if all of the exchanges are closed at that point in time.


By way of example, a multi-trigger alert could be created, with the following trigger events:

  • Trigger 1 (T1) : 1 min interval EMA (30) crosses 1 min interval EMA (12)
  • Trigger 2 (T2) : 15 min Stochastic %K rises above Stochastic %D
  • Trigger 3 (T3) : 30 min interval MACD is above 0
  • Trigger 4 (T4) : 1 day interval MACD rises above 0


Groups

Configure group 1.png
  • In a Group the alert will activated if all of the trigger events are evaluated as true, either within 'any time period' or within the allocated group time frame.
  • The trigger events can be evaluated as true, in any order.
  • A group can include multiple symbols e.g. GBPUSD RSI must rise above 70 and EURUSD RSI must fall below 30
  • Immediately after the group is activated, it is reset, such that all the trigger events must be re-evaluated as true for the group alert to be activated again.


Using the above multi-trigger alert as an example:


Group - 1 day

The trigger events can be evaluated as true in any order, eg T3, T2, T4, T1

An alert notification will only be sent if the last trigger is evaluated as true, which in this example is T1, within 24 hours of the first trigger event T3 being evaluated as true.


Group - any time period

The trigger events could be evaluated as true in any order, eg T4, T3, T2, T1

An alert notification will only be sent after the last trigger event is evaluated as true. In the group above for example, T1 may occur many years after the initial trigger T4 occured.

Sequences

Configure group 3.png
  • In a Sequence the alert will activate if all of the trigger events are evaluated as true in the listed order.
  • These triggers must evaluated as true in the order that they are listed in the alert.
  • The same trigger can be placed in multiple positions within the sequence. This allows for the detection of repeating patterns, using the same criteria e.g. the Moving Average must increase by 0.1 repeatedly.
  • A sequence can include multiple symbols e.g. GBPUSD RSI must rise above 70 and EURUSD RSI must fall below 30
  • Sequence alerts can have many overlapping separate states at a given point in time. For example each time the first trigger event in the alert is evaluated as true, a new alert sequence will be created using the most recent trigger event time of occurrence. As each sequenced alert is activated, the other states are maintained.


There are two types of sequence alerts in the timetotrade platform.


Strict Sequence

The trigger events must be evaluated as true in the exact sequence that they are listed. If any of the trigger events occur out of order the sequence progression is reset i.e. the first trigger event in the sequence must be re-evaluated as true once again.


To illustrate, consider the above multi-trigger alert in a strict sequence:

  • The trigger events must be evaluated as true in the following order; T1,T2, T3, T4 for the alert to be activated.


However if the trigger events are evaluated in the following order:

  • T1,T2, T4, T3, T4, in this example, when the first T4 trigger event was evaluated as true, it resets the sequence position, thus preventing the alert activating when T4 occurred for the second time.



Loose Sequence

The alert trigger events must be evaluated as true in the sequence they are listed, however repeated trigger events within the sequence will be ignored. When a trigger event within the sequence is evaluated as true, the state of the alert sequence is progressed.


Consider the above multi-trigger alert in a loose sequence:

  • The trigger events are evaluated as true in the following order; T1,T2, T3, T4; at this point the alert will activate. Note: given this set of occurrences the loose sequence alert behaves exactly the same as a strict sequence alert.


However if the triggers are evaluated as true in the following order:

  • T1,T2, T4, T3, T4; in this example, when the first T4 event is evaluated as true, it is ignored, allowing the sequence to continue once T3 was evaluated as true.


The loose sequence alerts can have overlapping states that allows it to be track multiple states of progression at the same time. For example if the trigger events where evaluated as true in the following order:

  • T1,T2, T1,T3, T2, T4,T3, T4; then the alert activation would have occurred twice, even though the blue sequence of occurrences started before the green sequence finished. Please note, if two tracked positions end up being activated at the same point in time, the oldest will be discarded.


Related Forum Discussions



It has never been easier to execute your trading strategy. Our Trigger Trading Technology ® means you can now automatically execute your trades directly in the world’s global markets.


You need never miss a trading opportunity again!


Do you want to:

  • buy when your technical analysis chart conditions are met? Really buy, not just get an email or sms alert?
  • or sell when a support trend line is broken?
  • or back-test your strategy going back as far as 30 years?


TimeToTrade's Trigger Trading Technology™ is truly game changing. It gives you a trading advantage. The power to take your trading to a new level.


Open a FREE TimeToTrade account today to:


  • Trade UK, US and European Shares - apply now
  • Execute trades when your Price, Candlestick, Trend Line, Volume and Technical Analysis chart conditions are met using the Trigger Trading Technology® - learn more - help video
  • Email and SMS Trigger Trading™ Alerts - learn more
  • Trade Off The Chart - learn more
  • Back Test Trading Strategies with up to 30 years of historical data - learn more
  • Create Simulated Trading Accounts to test your Trigger Trading™ Strategies - learn more
  • Real time Forex, UK, European and US stock market data - learn more
  • 170+ Technical Analysis and Candlestick Pattern Indicators - learn more
  • All the tools you need to set up and run a successful investment club - learn more
  • Manage your Portfolio and calculate UK HMRC Capital Gains liabilities and SA 108 CGT Tax Returns - learn more
  • Create Trading Competitions for you and your friends - learn more
  • Apply for a trading account today to get the Live Account Features - apply now


Apply now to try our superb platform and get your trading advantage.



The information and data provided is for educational and informational purposes only. Interpretation and use of the information and data provided is at the user's own risk. All information and data on this website is obtained from sources believed to be accurate and reliable. However, errors or omissions are possible due to human and/or mechanical error. All information and data is provided "as is" without warranty of any kind. We make no representations as to the accuracy, completeness, or timeliness of the information and data on this site and we reserve the right, in its sole discretion and without any obligation, to change, make improvements to, or correct any errors or omissions in any portion of the services at any times. Past performance is not a guarantee of future results. Trading carries a high level of risk to your capital and can result in losses that exceed your deposits. It may not be suitable for everyone so please ensure you fully understand the risks involved.


All services are provided by Mercor Index Ltd. TimeToTrade is a trading name of Mercor Index Ltd (a company registered in England and Wales under number 9479466). Our Registered address is 1st Floor, Aldermary House, 10-15 Queen Street, London, EC4N 1TX. Mercor Index Ltd is authorised and regulated by the Financial Conduct Authority number 679941.


The trading services offered by Mercor Index Ltd are not available to residents of the United States and are not intended for the use of any person in any country where such services would be contrary to local laws or regulations. Subscriptions to TimeToTrade products are available if you are not eligible for trading services.

Retrieved from "?title=Triggers_and_Groups&oldid=37298"