Library "Position" Allows for simulating trades within an indicator. newTrade(size, price, timestamp) Creates a new trade object. Parameters: size : The size of the trade (number of shares or contracts). price : The price at which the trade took place. timestamp : The timestamp of the trade. Defaults to the current time. Returns: A new...
Shows Trading Days starting at 5pm (UTC-4 NY Time) Shows active Asian, UK and US markets by having a different background colours while those markets are open. Shows possible Brinks hammer/inverted hammers at 03:45 and 09:45
Library "GenericTrading" This library aims to collect rare but useful operations for get_most_recent_long_or_short_position_closed_index() : returns most recent long/short closed bar index. get_most_recent_long_or_short_position_open_index() : returns most recent long/short closed bar index. These two functions designed to help to speed up the...
3ESRA v0.2a Coded by Vaida Bogdan 3ESRA consists of a 3 EMA cross + a close above (for longs) the quickest EMA or below (for shorts). Note that I've deactivated the RSI Cross Over/Under (you can modify the code and activate it). The strategy also uses a stop loss that's at 1 ATR distance from the entry price and a take profit that's...
Simple scripts show the wide range bars within in the look back period, visualizing the bigger momentum. Added four exponential moving averages which define the trend of the instrument. Wide range candles in the direction of overall trend on higher timeframes; give confluence of higher participation in the same direction. Note : Decent volume above the average...
EXPERIMENTAL: A example on how to retrieve statistics from a recurring event. Can be used to optimized strategy's, trade parameters, etc..
script serves as an example how we can close trades at end of day. can be session controlled or the time controlled. the session should be adjusted to be earlier than the candle time.
This Volume Effectiveness indicator is designed to allow users to try and identify how effective volume is on each candle, and smoothing those values over time to try to find trends. Volume Effectiveness is the % change in price for each single unit of volume on the associated candle. The value can be positive or negative, but there is an option to just monitor...
This script implements a rebrushed distance-based pair trading strategy. In this strategy, normally they trade the difference between the prices of two instruments. This difference is also called spread. Here, however we’ll trade the difference between two time frames of one instrument. And that's the main trick. Common procedure consists of the following...
This indicator shows you the pre-market activity of a stock in the Daily view. Retail investors normally feel powerless in after-hours and pre-market trading time due to either their inability to trade, or failure to find liquidity in a market with few participants. At the same time we know that some of the most important announcements are made during closed...
Great Expectations helps traders answer the question: What is possible? It is a powerful question, yet exploration of the unknown always entails risk. A more complete set of questions better suited to traders could be: What opportunity exists from any given point on a chart? What portion of this opportunity can be realistically captured? What risk will be...
Correlation Based Pair Trading Strategy (Trading the spread) There are three popular styles of Pair trading: * Distance based pair trading * Correlation based pair trading * Cointegration based pair trading The correlation based strategy is to short the outperforming instrument and go long on the underperforming one whenever the temporary correlation weakens...
This script is used to estimate how much an exchange/broker makes off a particular pair/symbol. If Coinbase(GDAX) has a 0.25% taker fee and a 0.15% maker fee per trade and you estimate the average commission fee at 0.19% then you simple input that, and how many periods you'd like to know the total fee for (30 periods on the 1 day chart = last 30 days, 28 periods...
Ok, Here we go - Version 1 of TTM Reversion Band goes live. Link to TTM Reversion Band - www.tradethemarkets.com Link to TTM Reversion Band Guide - kb.simplertrading.com John Carters Mastering the trade - www.amazon.com For the amount of information this has, the price tag is not hefty. John's RTM Chapter Synopsis - www.tradethemarkets.com What did I...
A CHANGE of background color indicates a trade opportunity : Cyan background = BUY Purple background = SELL The bullish signals seem to be better than the bearish ones. Based on the "Willy" indicator. Don't change the parameters unless you fully understand the consequences. Use with brains and caution :)
This is an indicator, That works great in a wip-saw market range. Would not use this to trade in a breakout. I am calling it the "Transaction Value Index (UCS_TVI)", The reason is because, it measure where the price currently from the mean trade value. The cross represents the highest trade value on that day, circle represents the lowest trade value. In other...
Marker of trade session If you do not want painting all session, you should set -1 in the SessionStart and SessionEnd