Motion▮ FEATURES
Now as library version :)
String-based transition-effects
Performance optimization. Reduced memory consumption up to >90% by kicking the output to the "stdout".
Use marquee- or loader-effect on any possible string location.
Example: UI Price-Ticker
----------------------------------------------------------------------------
Library "Motion"
_getStringMono(_len, _str, _sep)
Parameters:
_len
_str
_sep
marquee(this, _extern, _ws, _subLen, _subStart)
Parameters:
this
_extern
_ws
_subLen
_subStart
transition(this, _subLen, _subStart)
Parameters:
this
_subLen
_subStart
hold(this)
Parameters:
this
keyframe
keyframe A keyframe object.
Fields:
seq
intv
step
length
update_no
frame_no
ltr
hold
Interface
Status Symbol HUD***THIS IS NOT A TECHNICAL INDICATOR*****
***THIS IS A HUD (HEADS UP DISPLAY)*******
***TV MADE ME CHOOSE AN INDICATOR CATEGORY****
This is a Status HUD designed to be overlaid your live chart to help you keep track of important information regarding your current position as well as provide 'quick-glimpse' tools and information to help you make quicker, more informed decisions in the moment.
The HUD consist of a small label plotted to the right side of price action keeping your viewing area clean and clear.
The following inputs allow you to customize the information to suit your needs;
AE
This is the Average Entry of your trade. It is assumed that you have calculated this out on your own using external methods. If this is for a single buy-in/buy-out trade, this will just be your entry price
R
This is the percentage of your balance that you currently have in the open trade. This number also needs to be computed using external sources. If you are only interested in keeping track of the status of a single position as an isolated trade apart from your entire balance, you would enter 1 here.
AX
If you are scaling or laddering in and out of a position, this is how you would keep track of your average exit price, This also needs to be calculated externally.
BAL
Input your total balance here if this trade is used against your larger portfolio, this allows for live %PNL calculations on your balance as a whole.
SL
This the real price % you are comfortable allowing price to drop before exiting the position. Currently, the HUD does not calculate SL for you so you will need to calculate your own SL based on your portfolio risk and enter that number here. Future versions will have this baked in, however.
Fees
This is assumed to be a 'one-way' fee. For my personal use I am normally the taker, and my fees are relatively constant. Put in the one-way fee here and the HUD will double that number when necessary to account for 'round-trip' break even points and more accurate SL and target plots.
SPEC
The HUD also has a small selection of 'speculative' tools that can assist in quick information gathering and decision making. By selecting the first check box, this will show or hide the spec dialogue. This spec information appears in the same label as the main info.
Adjusted Average Entry Projection
One powerful feature of the HUD is that by inputting the amount of your next buy-in, you can see a live indicator showing the approximate location that your new average entry will be. This can be very helpful when trying to decide if it is worth employing DCA strategies or if you should simply cut and run.
STEP is a variable that plots the small grey lines above your entry. These are 5 targets, evenly spaced according to this variable. The default is 50, which means the grey target lines show you the price points equivalent to $50, $100, $150, $200, and $250 profit. These targets are fairly accurate when accounting for fees as well, meaning that the $50 target painted here is a REAL $50 with all fees covered!
By selecting the Spec SL box you will show/hide the speculative stop loss projection. This is a small black cross that prints under the current price. This represents your described SL as a function of current price. In other words, if you were to take a new trade at the current price, it shows you where your desired stop will be. This projection is an estimate and does NOT account for fees. It also will NOT work with DCA strategies. It is currently ONLY for new trades. Once you have entered a trade, it is better to turn this off. Future updates will include dynamic projections that account for fees. ;)
HUD Offset is the number of candles forward you wish to displace the HUD interface. If set to 0, the info box will be directly over the current candle.
The info that is on the HUD is as follows;
% = total %the trade has moved since your entry
PNL = Your personal PNL on balance
PNL (line 2) = Your personal PNL as real dollars
---------
MU = the makeup required for a negative trade. This calculates how far UP price must travel to make up the current lost percent. Because the makeup % is not always intuitively related to the loss percent, this can sometimes be handy. For instance, if price is down 20% from entry, you will need almost 26% increase from current price to reach your break even point.
Visual Tools that are plotted are as follows;
Green line = Trade Entry
Red line = SL
Purple Line = Break-even point for fees
Grey lines = profit targets based on 'STEP' increment