Share your Functions here:
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Share your Functions here:
Share your special Functions in this thread:
Last edited by TJ on 05 May 2010, edited 2 times in total.
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
decimal_place
this function automatically returns the decimal places of the price value.
e.g. useful in:
numtostr( cloce, decimal_place );
if you trade ES and YM, you can apply the same indicator to both symbols, and don't have to worry about setting the decimal places of the text labels.
The ES will show with 2 decimal places, and
YM will show with 0 decimal places.
.
this function automatically returns the decimal places of the price value.
e.g. useful in:
numtostr( cloce, decimal_place );
if you trade ES and YM, you can apply the same indicator to both symbols, and don't have to worry about setting the decimal places of the text labels.
The ES will show with 2 decimal places, and
YM will show with 0 decimal places.
.
- Attachments
-
- decimal_place.txt
- (278 Bytes) Downloaded 540 times
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
This function accepts an EL time and returns a formatted time string hh:mm:ss
http://forum.tssupport.com/viewtopic.php?p=22717#22717
http://forum.tssupport.com/viewtopic.php?p=22717#22717