When I change the sl pub, the position dimensions and sl size on the indior do not change! what am i doing wrong?
When I change the sl pub, the position dimensions and sl size on the indior do not change! what am i doing wrong?
You need to wait around for a sign up to occur on the currency pair you're viewing.Originally Posted by ;
Hi Peter, so allow me to make sure I know --you want smaller than micro? So regular is 100K, miniature is 10K, micro is 1K, and you want 100? Correct?Originally Posted by ;
I suppose I could just place the choice to be units instead of standard, mini, etc.. . This way you could make it anything you want, with the default being standard, or simply 100000. Hmm, perhaps I will go ahead and do this tonight. Thank you for the proposal Peter!
As an instance, a 10k external equilibrium, regular 100k lots, 20% risk (this is just hypothetical). Regardless of currency pair (state GBP/USD) whenever the stop loss is modest (lt;10 pips), the lot dimensions shoots through the roof (30 lots). This is not possible to get a $10k account. 30 lots of GBP/USD will be over 600:1 leverage over a $10k account.Originally Posted by ;
What the indior needs is a margin choice option (.25% - 5%, iow 400:1 down to 20:1), with the max lots limited to the selection.
I understand KGB. I'll implement this tonight and post it later. But, I have to state that anyone who would have a 20% risk on a trade will definitely blow off their account earlier or later... at the high quantity of risk, then one is certainly subject to margin requirement problems. Any risk higher than state 5% IMO on a trade except on a platform using a very high win rate (say, over 90 percent ) is just a bet. 1% is that the default risk for a reasonOriginally Posted by ;
Right, it was only hypothetical. I was just testing to see if margin limits were in place.Originally Posted by ;
PLEASE NOTE that Visible PS Calculator is a Expert Advisor now, NOT a customized indior. Thus, you must set it in your MetaTrader\specialists folder, NOT in the indiors folder. Make sure to restart MetaTrader after you set the file .
Additionally, notice that this version, 1.2, will expire January 1, 2008. My aim is to keep this free and remove the expiry limitation, but I appreciate intellectual property (meaning I pay for software, and things of this kind ), including my own, and I feel it best for today to put an expiration on it.
Now Visual PS Calculator gets the capacity to work for market and limit orders, and also checks that margin requirements are met (but if you are using sensible risk and your leverage is high enough, then this won't be a problem ).
Easy steps to follow: (See screenshots below)Enable object selection Enable Expert Advisors solicit the EA on the chart Place your risk, and if the order will be a market or a limit order, and if you are using an external non-MT4 account, set your balance, lot dimensions (100000 for benchmark, 10000 for mini, and so on), and leverage pick your stop loss using a single mouse click and drag it where you need it, and if this is really a limit order, do exactly the Exact Same for your limitation line that has been created place your order when you see fit, based on the values provided by the EA remove the EA in the chart when you are done If you are not familiar with the way limit/market orders work, there are plenty of resources available online to help you understand. The order type will be exhibited by the EA along with the SL worth, and the amount of risk, value of each pip movement, and most importantly, how many lots you should trade.
Once you OK the options, a stop loss line is going to be created on your chart. In case you've chosen to utilize a pending order (OrderIsAMarketOrder is untrue ), then a limit line will also be created. Place the line to where your stop loss is going to be for the transaction, and also do the exact same to your limitation line if you are doing a pending order. This limitation line functions for stops (i.e., line under price for a market, and line above price for a buy), as well as limitations (i.e., line under price for buy, line above price for a sell).
Notice that you must select Tools-Options-Objects-Select object by only mouse click in order to pick the SL/limit lines as soon as they are made. Click the line, and then you can drag it about.
When you join the EA, you'll have these options:PercentEquityToRisk: percent of your balance you want to risk on a transaction -- 1 percent is the default option, and for a fantastic reason OrderIsAMarketOrder: if false, then two lines will be created, one to the SL, and the other for your price to buy/sell at, along with the standing size will be calculated according to these two lines. If accurate, then only a SL line is going to be created, and the position dimensions will be calculated depending on the current price. External accounts -- This is to be used if you've got a non-MT broker and use MT for charts, and do not need to use your MT account balance for calculations. In case ExternalAccountBalance is set to anything above , then the EA will perform calculations based on these three factors, which can be balance, lot size, and leverage. Be aware that the stop loss value and calculations take into account the spread, which on shorter TF trades can be very significant. Remember that when going long, you buy not in the bid price, that's the default price exhibited in MT, but rather in the ask, so if the spread is 5 pips along with your line is apparently 15 pips under the price, the SL is really 20.
There's a lot of error-checking and input in my code, so it must cover all cases in which an order would not be legitimate (like placing the stop loss 2 pips away in the limitation price when the spread is 3 pips, for example). But should you find any errors, and I am sure that you will, please allow me to know!
https://www.nigeriaforextrading.com/...801434321654.2
When I had a dog, he would be really happy Today'cos he Would have two sets of bo**ocks (UK expression lol)
Lol Peter, okay, so I don't quite understand the saying --only translate for me, are you happy and good? :-)Originally Posted by ;