Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
In case you are not aware

"The open price you set must differ from market price by at least ** pips" is NOT a constant 5 pips.

The pair I have open in front of me right now USDJPY is in fact showing 18 pips and looking at XAUUSD is 250 pips even good old cable is showing 20 pips - H'mmm must be the time of day (17.45 GMT)

I can only hope that your indicator can pick up the relevant data from within MT4
 

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
Thank you for re-siting the Margin and adopting the INSTANT action label - Much better (in my opinion)

Not that it bothers me personally BUT you no longer have a choice of window

If the EL and SL lines are superimposed the indicator freezes

When Pending is selected - Cannot get Too Close to show (I have seen it . . . Once)

Seem to have picked up some extra figures - see SS

You have SL from EL pips and TP from EL pips what about showing EL from Bid/Ask pips on the EL line in Aqua turning RED when too close - just an idea

What is Wrong Value (shows when inside the spread) - deliberately displayed on SS to show conflict with Margin

Easily upset with having the lines in the wrong place and then freezes solid

If you instal on a PENDING option there is NO EL line. Have to instal first on INSTANT then change to PENDING

Still can't make the text smaller than 11 (not sure if this is a problem or not)

Bet size needs to be 2 decimal places

From what I have checked so far the sums seem to be OK

.
 

Attachments

Enivid

Administrator
Staff member
Nov 30, 2008
16,046
818
144
Odessa
www.earnforex.com
1. No window choice because it creates a new window and detects its number automatically now.
2. Fixed. Was a zero divide error, now it ignores SL if its is equal to EL.
3. Check the stop level for that symbol. Maybe it's 0 or something very low. Anyway, you can just move the line precisely to Ask or Bid via object parameters window.
4. Fixed.
5. Added, but the warning will be displayed as before, in brackets.
6. Fixed. Should have been shown only when stop-loss is inside Ask/Bid range and Instant execution is enabled.
7. If you saw it in any other case than SL=EL, then please report more details so I could reproduce.
8. EL line is created no matter what is set in EntryType. If you lost sight of it, use object list to find it.
9. It's MetaTrader's issue.
10. Fixed.
 

Attachments

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
4. Still there (see Attachment A)
5. The trigger seems to be 0.5 instead of 5 (see Attachment A & C & D)


Unknown # showed up - 116873.4 (see Attachment B)

As I recall the "differ" should also apply if the SL is too close as well - plus the spread


.
 

Attachments

Enivid

Administrator
Staff member
Nov 30, 2008
16,046
818
144
Odessa
www.earnforex.com
4. Still there (see Attachment A)

Fixed again.

5. The trigger seems to be 0.5 instead of 5 (see Attachment A & C & D)

It's 0.5 in bet pips and 5 in quote pips - as you can see the GBP/JPY has 3 decimal places, while the bet point has only 2.

Unknown # showed up - 116873.4 (see Attachment B)

That was when SL is inside the spread - the indicator could not determine whether it's a buy or sell, so it does not know which price to use for EL distance - Ask or Bid. I have changed it to depend on SL-EL difference when EntryType = Pending and display "N/A" in case they are equal.

As I recall the "differ" should also apply if the SL is too close as well - plus the spread

No. When sending a pending order, Entry has to differ from the current rate, while SL should differ from Entry. It does not matter if SL is at the current rate.

EDIT: Uploaded correct file.
 

Attachments

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
GBPUSD 5 decimal points

I thought you was going to adopt the KISS principle

The 2 columns Input & Result = Confusion

100.00 is correct
170.49 is correct

I can see how you arrived at 99.66

How did you arrive at 171.08

The Aqua 4.1 SHOULD be too close

I'm looking and wondering if there is a solution - H'mmm

http://www.threadbombing.com/data/media/2/headbashwall.gif because I can't see the solution

Can you not mix the results up ?

Risk: . . . . . . . . . 1.00%
Risk, money: . . . . 100.00
Reward: . . . . . . . 170.49
Reward/Risk: . . . . 1.71
Bet Size:. . . . . . . 2.20

Maybe a note below Bet Size line "There may be discrepancies in the calculations, due to the decimal point"

Can be tucked out of sight once you are aware of it

.
 

Attachments

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
1% of 10,000.00 CANNOT equal 99.66

BUT Reward COULD equal 170.49

Take Profit Pips * Bet Size ALWAYS = Reward + or - 0.01 (77.5 * 2.20 = 170.50)

.
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
16,046
818
144
Odessa
www.earnforex.com
GBPUSD 5 decimal points

I thought you was going to adopt the KISS principle

The 2 columns Input & Result = Confusion

100.00 is correct
170.49 is correct

I can see how you arrived at 99.66

How did you arrive at 171.08

RiskMoney * (TP/SL).

The Aqua 4.1 SHOULD be too close

Why? You can send a pending order at those parameters.

1% of 10,000.00 CANNOT equal 99.66

Right. But 99.66 is equal to 1.00% of 10,000.

BUT Reward COULD equal 170.49

Actually, it should be 170.50 and is now fixed in the attached version.
 

Attachments

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
With Respect I wish you would listen to me. Your RISK and Risk Money vary with the position of the lines. RISK and Risk Money are $FIXED$ quantities. You need to lose all those irrelevant numbers. Too Close needs to be 5 NOT 0.5

RiskMoney * (TP/SL).
WHY DO YOU NEED THIS RESULT

Why? You can send a pending order at those parameters.
NO YOU CANNOT Have you tried to with your GKFX demo

Right. But 99.66 is equal to 1.00% of 10,000.
HOW CAN IT BE

Actually, it should be 170.50 and is now fixed in the attached version.
THANK YOU
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,046
818
144
Odessa
www.earnforex.com
With Respect I wish you would listen to me. Your RISK and Risk Money vary with the position of the lines. RISK and Risk Money are $FIXED$ quantities. You need to lose all those irrelevant numbers.

This result is based on the input values. If I set TP to 100 pips and SL to 50 pips, I except my RR to be 2.00. If the actually RR is different due to the usable position size, the former shall be shown for comparison.

If it is irrelevant for you, please ignore it, or remove it from the code.

Too Close needs to be 5 NOT 0.5

NO YOU CANNOT Have you tried to with your GKFX demo

Of course, I did try it. See the screenshot attached.

HOW CAN IT BE

99.66 / 10,000 = 0.009966
0.009966 * 100% = 0.9966%
Round(0.9966%, 2) = 1.00%
 

Attachments

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
I'm lost for words . . .

All I want is the second image in the attachment

I would if I could but I can't :(

Wish some of the other viewers would give me their support



.
 

Attachments

Last edited:

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
That image is factually wrong because 2.20 x 45.3 != 100.00.

Agreed . . . wasn't the best choice of images to use - Should have done the sums before posting :(

Acc Balance: . . $FIXED$

Risk: . . . . . . . . $FIXED$

Risk, Money: . . . $Acc Balance$ * $Risk$

Reward: . . . . . . TP pips * Bet Size

Reward/Risk: . . . TP pips / SL pips

Bet Size: . . . . . . $Risk, Money$ / SL pips

Remember K.I.S.S


.
 

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
Because of the weekend I am able to look at charts with bigger spreads, bigger differ and are static.

Please be aware you will be unable to copy these figures in your GKFX account - You need an ETX demo account

USDZAR

Have established that the shown spread is true (76 * 2 = 152) - image AA

Too Close is working (the absolute maximum I can achieve by hand - 6.7) - image BB

The Market Price is 11.6310(0)

The Ask Price is 11.6462(0)

6557 (EL) - 95 pips = 6462 (ask price)

BUT if the differ is 100 pips WHY isn't the TOO CLOSE showing - image CC

If you visualy compare the differ gap (95) to the spread gap (152) it is approximately 2/3 showing that it right.

H'mmm - I don't know what it is BUT something isn't right - I think it's the decimal point :rolleyes: somewhere in your calculations.


A'rrggg . . . Just noticed that I had the Order opened for Buy Limit instead of Buy Stop . . . what a plonker

.
 

Attachments

Last edited:

Maverick

Master Trader
Apr 3, 2014
323
3
79
Bournemouth UK
Just been looking at your latest post on Position Size Calculator which is where it all started for me. It was nearly a year ago when I first suggested a separate window - H'mmm

Wanted to remind you (not that I should need to) that Spreadbetting IS different to Forex which is why I was having all those troubles trying to get your Position Size Calculator to work on a Spreadbetting account and why we are here now creating a purpose made Bet Size Calculator

Not trying to tell you how to suck eggs BUT please treat them separately to avoid confusion - They are like English and American - Similar BUT different.

.