Skip to content
All library documents

Pushing Mylanguage Position Changes to Mobile and WeChat

Article FMZ forum · Author: Ninabadass

Summary

This article describes a way to send alerts when a strategy’s position changes, using FMZ Mylanguage together with its JavaScript enhancement feature. The example strategy uses Williams %R and a moving average to generate long and short signals. The article explains that Mylanguage variables can be accessed from JavaScript through the platform’s scope interface, then compares the current net position—long volume minus short volume—with a stored prior value. When the value changes, the strategy logs a notification that can be delivered through the platform’s web logs, mobile app, or WeChat.

A live bot demonstration is described using a cryptocurrency spot pair, and the article says the same alert approach can also be used with futures. This is an implementation example for a specific platform, not a general alerting standard. It does not discuss delivery guarantees, duplicate notifications, latency, or error handling, and its trading signals are included to demonstrate position updates rather than establish strategy performance.

Key ideas

  • Mylanguage can be combined with JavaScript through the platform’s language enhancement feature.
  • The example reads long and short volumes and derives net position from their difference.
  • A stored prior position lets the strategy detect changes and issue a notification.
  • Alerts are demonstrated through web logs, a mobile app, and WeChat.
  • The article demonstrates platform-specific position reporting but does not assess alert reliability or trading performance.

Tags

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