Risk Reward and Position Sizing Indicator V2.1 (based on original work of Mompere)
Calculates Risk/Reward and Position Sizing for trade planning using horizontal lines drawn at potential trade Entry, Stop and Target. The indicator will automatically update the risk/reward and position sizing on the fly when you select and drag the Entry, Stop, and Target lines.
Position size and risk/reward can be calculated from user input parameters for Trading Account Size, Percent Account Risk per trade, Fixed Dollar Amount per trade, or Fixed Share Sizing.
Click on the "$$" button to display/hide the Risk/Reward analysis.
Now supports dynamic pip value calculation for FX trade position sizing. Works for most cross-pair except for those very exotic cross pair.
Revision:
Jul 29 2013 (ckkoh): 1) Improved position sizing calculation for FX. 2) Enhanced reward risk calculation that includes spread. 3) Customizable line colors. 4) Reduced CPU utilization. 5) Display actual Buy price for Short position.
Mar 29 2012 (ckkoh): 1) Added a button to display/hide Risk Reward analysis. 2) Enhanced the Position sizing to support FX Lots type.
August 18th, 2010
Size: 36.29 KB
Downloaded: 437 times
607
baruchs
Hey guys,
I'm new here and want to contribute. This is a spreader algo I had coded for the Rithmic API. Check it out. If you do expand on it, please post the code here. It's coded in C# but not by me. Hope its useful guys.
NEW! Updated on March 1 because of run time errors in NT7B10. Cleaned up the code in the OnMarketDepth method, and removed list row creation from Plot method.
The Histogram Width Factor gives you full control of that width, and is a double, not an integer. For the ES you might want to go as low as 0.15. Also note that the bar opacity is on a scale of 0 to 255.
The histogram will auto scale according to the width of the chart, to always leave some space to the left of the longest histogram bar regardless of your Histogram Width Factor setting.
You can also select the number of rows to display with MaxRows, under Level II Settings. For most instruments, you can get a maximum of ten levels of bid and ask.
Thanks to John Thom for the original version and to RJay for the updated version. All I did was make it run in NT7. I am a strong advocate of migrating to NT7 ASAP.
January 27th, 2010
Size: 9.92 KB
Downloaded: 2031 times
304
Zondor
This is a level 2 indicator. It measures market supply, not market volume.
This indicator can display all levels, a range of levels, or just a single level of supply in the level 2 book.
There are three variables with this indicator that can be set.
Beginning level, ending level, and smooth.
The first two sub panels are displaying all levels, raw data, then smoothed.
The last two sub panels are displaying just level 0, raw data, then smoothed.
( Note: Level 0 supply is the supply that current best price Market Orders transact with.)
Because of the spike nature of book levels, I have built in the optional smooth feature which takes an EMA of the last 5 bars, minus the highest and lowest values of the five.
Also, the bar colors reflect the raw data direction, even on the smoothed version. This accounts for some red bars above and green bars below the center line in the smoothed version.
In the smooth setting, this indicator begins plotting after the fifth bar.
July 30th, 2014 07:30 PM bobc635 Thanks Zondor.... I have another version... look forward to looking at this. I use it along with GOMIs Ladder and Volum
e tools.
January 3rd, 2014 08:32 PM XxBrianxX Thanks Zondor
October 6th, 2013 11:02 PM cibarcena The title says v2 but you included the old version jtRealstatsNT7v106. Thanks
November 30th, 2012 06:35 AM dilbert618 Thank you Zondor
March 8th, 2017 04:54 PM allsensi Amazing, so b.. useful. Just a comment, would be nice to explain a bit how it works, took me about 15 minutes! But it wo
rks fantastic, and the most useful tool for me is how it calculates how many lots depending on max loss acceptable. Than
ks again.
October 10th, 2016 11:03 AM Cristian Great tool
June 26th, 2016 01:13 PM BoltTrader Super helpful! Thank you!
October 25th, 2015 10:19 PM bcomas Good tool! Very usefull