Skip to content
All library documents

Dual SilverTrend and ColorJFatl Signals with Loss-Based Position Sizing

Article MQL5 code base

Summary

The document describes an expert advisor that combines two independent systems, one based on SilverTrend_V2 and the other on ColorJFatl_Digit. Each system opens a trade when a completed bar shows a change in the indicator’s trend color. The systems can adjust the next trade’s size according to recent outcomes in the same direction.

For each system, separate buy and sell loss thresholds control when the smaller allocation is used. The example reduces size after two consecutive losing trades in that direction and restores the normal allocation if at least one of those trades was not a loss. The document also notes that the corresponding compiled indicators must be installed for the advisor to run. It mentions a GBPUSD six-hour test over 2016 using default inputs and stops, but provides no numerical performance statistics or analysis of robustness. The sizing rule changes exposure after losses; the text does not establish that it improves results or limits total drawdown.

Key ideas

  • The advisor runs separate SilverTrend and ColorJFatl indicator systems.
  • Trade signals are evaluated when a bar closes and an indicator changes trend color.
  • Each system can use distinct buy and sell loss thresholds to reduce subsequent trade size.
  • In the example, two recent losses in the same direction trigger smaller sizing, while a non-losing result restores normal sizing.
  • A GBPUSD six-hour test is mentioned, but the document gives no detailed performance metrics.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.