仕事が完了した
指定
Basic Idea
Place a Buy Order or Pending Buy order (with expiry) when the Indicator give a Buy signal and place a Sell or a Pending Sell order (with expiry) when the indicator gives Sell signal.
I will be providing the indicator
*developer to tell what options are available to indicate buy or sell signal using an indicator.
Entry
need a couple of options for entry
If not pending order then
- Place order at current price
if Pending type entry then either
- 1/3 of the last candle (lower 1/3 for sell and upper 1/3 for buy) (with pip offset using settings)
- Low for sell order and high for buy order (with pip offset using settings)
- Expiry Period (count of candles to wait before expiry)
-Offset Pips (offset pips of the order - for a buy order place the order Offset Pips above the entry value and for sell order place the order offset pips below the entry value)
Exit
Options needed
- TP value
- Opposite signal (exit on sell signal for a buy order and exit on buy signal on a sell order)
TP Value options
- Fixed Pips
-% of account balance
- Ratio of Stop Loss 'N' (this is if the pip profit is N times the SL pip count)
SL (with Offset in settings )
- Fixed Pips
- extreme of previous candle (Low for Buy order and High for Sell order)
-Offset Pips (offset pips of the Stop Loss - for a buy order place the Stop Loss Offset Pips below the Stop Loss value and for Sell order place the Stop Loss Offset pips above the Stop Loss value)
Lot sizing
- Risk % of account balance (calculate lot size with the percentage and default to 0.01 (0.02 if partial close is enabled)
- Fixed Lot size
Break Even - Break even type (pips or % of account profit) - value 0 in both values below will disable the options
- Break Even Pips (at what Pips to move SL to Break Even)
- Lock in pips for Break Even (to cover for commission and swap ) user defined pip count
Trailing Stop
- Trail start after Break Even - True/False (trailing only starts after Break Even hits)
- Trail Type (Pips or Candle) - trailing will only trigger once the position goes in profit
- Trail Pips (pips to trail from current price)
(If candle is chosen then trailing should be based on the Lowest low of the previous Trail Step candles for a buy order and the highest high of previous Trail Step candle for a sell order)
- Trail Step (candles to wait before moving trail to next level or Candles to check for Lowest low or highest high for Candle based trailing)
Partial Close (50% only) - value 0 in both values below will disable the options
- Partial Close at Pips
- Ratio of Stop Loss 'N' (this is if the pip profit is N times the SL pip count)
News Filter (disable making new entries during news) - True or False
if True
- Close Positions in Profit (if in Min Profit or in Pips provided in user setting) - True or False
- Min Profit to close positons (value in pips)
- Move SL to Max SL (Move SL of losing positons to a MaxSL value if the current stop loss is greate than Max SL value - True/False
- Max SL
- do not enter any new trades during news
- Time before news (in minutes) - not to trade
- Time after news (in minutes) - not to trade
- Level of news (High, Med, Low) a lower level should include all above levels. eg, if Med is chosen then High and Med type of news should be considered to perform step for news.
Other Setting
- Account Currency (Should work for USD, CAD accounts) - this setting will help in calculating Lot size based on risk
- Pair Type (Should work for 3 or 5 digit , 4 digit, Gold, Silver)
- Hard Stop % - (% of account balance to stop EA from wiping out the account )
Display on Chart
EA Name - GeCustom EA
- Account Equity in $ (account currency)
- Account Balance in $ (account currency)
- Current FL Profit/Loss in $ (account currency)
- Current Stop Loss - in $ (account currency)
- Current Stop Loss - In Pips
I can provide more details once we agree on the work involved and price. Some of the items can be scoped out (eg, news filter, Account Currency for lot size calculation etc. if it can be done cheaper)