Repository contains eight (8) non-trading indicators written in Lua and intended to be executed using FXCM Trading Station. FXCM Trading Station is a financial trading application written for Windows that can leverage scripts written in Lua (and JavaScript) via Indicore SDK to further extend functionality.
Calculates and displays symbol's change during period in pips and percent terms as well as symbol's net open positions and net PL.
Calculates and displays day p/l in percentage terms.
Calculates and displays effective leverage based on the current equity compared to open positions converted to USD values.
Calculates and displays equity return based on the current equity compared to the user variable 'Deposit Amount'.
Calculates and displays equity drawdown based on the current equity compared to the user variable 'Equity High'.
Calculates and displays account's current equity, day p/l, day p/l in percent and leverage.
Recreates all trading tables and adds additional values for display on Marketscope for improved consumability.
Highlights zero and negative spreads.
-
Clone or download desired *.lua files from this repository.
-
Move *.lua files to the following directory depending on 32 or 64 bit OS version:
C:\Program Files (x86)\Candleworks\FXTS2\indicators\Custom
C:\Program Files\Candleworks\FXTS2\indicators\Custom
-
If previously running, close and reopen FXCM Trading Station.
-
Strategy(ies) will now be available under 'Alerts and Trading Automation' > 'New Strategy or Alert.'
OR
-
Clone or download desired *.lua files from this repository.
-
If not running, open FXCM Trading Station.
-
Drap and drop *.lua files onto a Marketscope chart instance.
- Feature release
- Added average open rate
- Added average pips
- Added automatic suppression of values if exposure = 0
- Overall code optimization
- Initial release
- Cosmetic release
- Updated default value for 'Nickname' to ""
- Added support for existing (though unused) option to control font color
- Initial release
- Cosmetic release
- Updated default value for 'Nickname' to ""
- Updated timer to refresh every 30 seconds from 60 seconds
- Added option to control precision for 'Format_Precision'
- Added support for existing (though unused) option to control font color
- Initial release
- Cosmetic release
- Updated default value for 'Nickname' to ""
- Updated 'Format_Financial' function to add thousands separator
- Added option to control precision for 'Format_Financial'
- Added support for existing (though unused) option to control font color
- Feature release
- Fixed percentage calculation
- Initial release
- Cosmetic release
- Updated default value for 'Nickname' to ""
- Updated 'Format_Financial' function to add thousands separator
- Added option to control precision for 'Format_Financial'
- Added support for existing (though unused) option to control font color
- Initial release
- Initial release
- Initial release
- Initial release