Stop” draws colored outside bars. Shows visually clearer movements. Can help with the stop setting. Ideal for the movement trade. Simple but effective.
I trade this in combination with myCandel V 1.4, myOpening Range…, MyThermometer
Stop: Is an optical stop above / below the outside bar. The distance can be adjusted via “PointsExtra”. Or to deactivate the line in the dialog window at “Stop”.
Candlestick: The colors are fixed in the code. They can be deactivated in the code by placing the // in front of “colored”.This allows the colors in the dialog window to be freely selected.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
// myOutsidebar+Stop // 20.03.2018 (Release 1.1) // Thomas Geisler // Sharing ProRealTime knowledge // https://www.prorealcode.com/library/ // -- init -- ONCE nl = low[0]//a ONCE nh = high[0]//b ONCE nc = close[0]//c // --proof insidebar-- if nc >= nl AND nc <= nh THEN nc = close[0] endif // -- short outsidebar -- If nc <= nl THEN nl = low[0] nh = high[0] DRAWCANDLE(open, high, low, close) coloured (255,0,0,255) OBStop = nh+PointsExtra endif // -- long outsidebar -- If nc >= nh THEN nl = low[0] nh = high[0] DRAWCANDLE(open, high, low, close) coloured (0,255,0,255) OBStop = nl-PointsExtra endif // -- sign stop line -- Return OBSTOP as "Stop" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials