Matts Eliasson Trading program Date 21/5/2025 1. Introduction * Objective: This program is for day trading of various assets like forex, crypto, commodities or shares. The program is intended to run as robot trading program 24/7. * Execution: The program operates as a 24/7 robot trading system, using defined rules and parameters to minimize losses and maximize profits by identifying trends and reacting to market movements. 2. Core strategy Overview * To trade following established trends base on a long and short MA. o Enter a position when a trend is established at a pre-defined strength. o Enter as the trend is strengthening after a consolidation. o Avoid entering through volatile periods. o Exit the trade if the position immediately goes against you. o Collect pre-defined profits for each trade. o Use trailing stop loss to capture smaller profits o Use a hard stop loss to reduce losses. o Use early stop loss to reduce losses 3. Interpretation * TV (tick value): Current tick value * TVMA (tick value moving average): To average the spikes in the tick value, we will use a MA for the tick value. We will use last X number of tick values to create an MA. * LMA (long moving average): The long moving average is to identify the overall trend. We will use X number period on a MA close. * SMA (short moving average): The short moving average is to identify the entry point when a trend is established. We will use X number period on a MA close. * PPT (points for profit taker): The X number of TVMA points from the tick value of the entered position. * MV (max volatility): Minimum X number of point between high/low on a candle. * MVT (max volatility time): X number of minutes to not trade after a MV has moved from true to false. * ESL (early stop loss): The X number of TVMA points from the tick value of the entered position. * ESLT (early stop loss time): The X number of minutes that the ESL will be active in each position. * HSL (hard stop loss): The X number of TVMA points from the tick value of the entered position. * TSL (trailing stop loss): The X number of TVMA point from the tick value of the entered position. * PNT (point to next trade): The X number of TVMA points from the tick value of the entered position. * NTT (no trade time): The date and time when trading is deactivated. * TL (trade long): Tick a box when long positions are active. * TS (trade short): Tick a box when short positions are active. * TRV (trend value): The minimum X number of TV points to establish a trend * TRVMA (trend value MA): use the last X number off minutes to calculate if the trend exceeds the value off TRV. * TGAP (TVMA to SMA Gap): The minimum X TVMA number from SMA value to get ready to entre a position. * X represents user defined numbers that needs to be entered in the settings of the program. A different number for each interpretation item that's asking for it. 4. Trading logic overview * Enter a Long position when following statement are true. o TL is true o NTT is false o No exiting long trade in place unless PNT value is reached o No short trade in place o TRVMA value is reached o MV value is not reached o MVT value is reached o TVMA has dropped below the SMA value in the last completed candle by the value of TGAP and moved back up above the value of the SMA in the last completed candle. * Set the long position with o The order volume o ESL with set value o HSL with set value o PPT with set value o TSL with set value when TVMA is at TSL value above the entered position's value. * Adjust the position when following happens. o Deactivate ESL when ESLT value is reached. * Close the position when o PPT's value above the entered value is reached. o If TSL is active, then when the TVMA has dropped from its highest value in this position by the value of TLS o When the TVMA has dropped below the entered value by the value of HSL. o NTT is true * Enter a short position when following statement are true. o TS is true o NTT is false o No existing short trade in place unless PNT value is reached o No Long trade in place o TRVMA value is reached o MV value is not reached o MVT value is reached o TVMA has increased above the SMA value in the last completed candle by the value of TGAP and moved down below the value of the SMA in the last completed candle. * Set the long position with. o ESL with set value o HSL with set value o PPT with set value o TSL with set value when TVMA is at TSL value below the entered position's value. o The order volume * Adjust the position when following happens. o Deactivate ESL when ESLT value is reached. * Close the position when o PPT's value above the entered value is reached. o If TSL is active, then when the TVMA has increased from its lowest value in this position by the value of TLS o When the TVMA has increased above the entered value by the value of HSL. o NTT is true