Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
how to calculate the maximum volume for open a order whit my money...
sample
i have USD$1000 and 100:1 and nolimit for volume in open order...
i need to know
1) maximum lots for open order in EURUSD with this money
2) maximum lots for open order in USDCHF with this money
2) maximum lots for open order in GBPCAD with this money
if you have a code, it´s better...
thanks for your help
__________________
Charles Adriano
---------------------------
sorry, sorry, sorry for my English...
where varRiskPerc is the % you want to put on your trade. ie 2%, then varRiskPerc would be 2. varRiskPerc MUST be a double or the formula will always return 0.
Quote:
Originally Posted by DooMGuarD
hi all...
how to calculate the maximum volume for open a order whit my money...
sample
i have USD$1000 and 100:1 and nolimit for volume in open order...
i need to know
1) maximum lots for open order in EURUSD with this money
2) maximum lots for open order in USDCHF with this money
2) maximum lots for open order in GBPCAD with this money
I want to grab the highest and lowest values of an indicator over an entire chart. A while ago I tried what I thought should have worked, from within an EA, but it didn't.
(Sorry I don't have that attempt now to show you.)
I need to write ea which will put awaitng order and do the following when it triggers:
1. Variables ("buy"/"sell",position1_lots,position2_lots,position3_lot s,entry_price,stoploss,TP1,TP2)
2.Open (buy/sell) trade with 3 positions at (entry_price) with (stoploss).
3.Close position_1 at (TP1) and move stop loss to breakeven for 2 left positions.
4.Close position_2 at (TP2) & let the last one ride or hit breakeven.
I've programmed some indicators but i really dont have much idea how to write this robot.
I'm trying to code in an effective and reliable invisible stoploss, trailing stop and takeprofit into my EAs. So far, my code just looks for the bid/ask to equal the stoploss or takeprofit value. If the price equals that value, then close the trade.
The problem I'm having is that sometimes the price seems to skip. There is no progressive movement of price. How do I then get around that problem? and make an invisible TP/SL which is guaranteed to close the trade where necessary?