Hey Guys, just wondering if I can get a hand finishing this indicator I've been working on. As you can see between the 2 pics, I am stumped on how to have my indicator show the correct values when viewing crosspairs. Right now I can only get what I want to see on only usd pairs. It's the difference in decimal positions that is giving me a hard time. I'm sure you'll understand by looking at the pick of what I mean. Anyone willing to give it a shot?
My coding is not the best, this is my first attempt at building an indicator. The cool thing I like about this indicator is that it let you set up your trade in advance, showing me all the information I need at a glance. No doing the math to see if you are staying within your money management rules. The percent for Risk % and Gain % are percentage of account balance risked.
I also noticed that I must have been screwing with the code for the percents, thats why they are reading 0.00% in these pics. I will fix them shortly.
One more thing, this indy is only calculated for trading .01 lots on micro account. I haven't figured out how to set it to trade more than the .01 lot size yet. It works for me so far as .01 lots is all I can afford to risk because of my small account size.
If anyone would like to help to improve this indicator that would be great!
Cheers!
Update June 8/09.........
Here is the most recent version. Won't erase your trendlines that you draw on your charts. And now the Stop, Target, and Entry lines don't reset when you switch time frames. You do have to manually delete these lines though when you take the indicator off your chart.
My coding is not the best, this is my first attempt at building an indicator. The cool thing I like about this indicator is that it let you set up your trade in advance, showing me all the information I need at a glance. No doing the math to see if you are staying within your money management rules. The percent for Risk % and Gain % are percentage of account balance risked.
I also noticed that I must have been screwing with the code for the percents, thats why they are reading 0.00% in these pics. I will fix them shortly.
One more thing, this indy is only calculated for trading .01 lots on micro account. I haven't figured out how to set it to trade more than the .01 lot size yet. It works for me so far as .01 lots is all I can afford to risk because of my small account size.
If anyone would like to help to improve this indicator that would be great!
Cheers!
Update June 8/09.........
Here is the most recent version. Won't erase your trendlines that you draw on your charts. And now the Stop, Target, and Entry lines don't reset when you switch time frames. You do have to manually delete these lines though when you take the indicator off your chart.
Attached File(s)
Risk vs Reward Ratio.mq4
8 KB
|
810 downloads
|
Uploaded Jun 8, 2009 11:59am