명시
Expert Advisor (EA) will provide automatic entry and exit using Black Dragon indicator as per the description below.
Long (entry): on the first blue candle.
Long (exit): on the first red candle, stop loss or take profit/break-even. Whatever happens first.
Short (entry): on the first red candle.
Short (exit): on the first blue candle, stop loss or take profit/break-even. Whatever happens first.
Long (stop loss value): lowest price on the last “x” candle-bars. X = user input.
Short (stop loss value): highest price on the last “x” candle-bars. X = user input.
Long/Short (portfolio % at risk): lot size will be determined by the stop loss values and amount of money the user is willing to risk per trade. This value should be a 2 decimal place and range from 0.01 to 1.00, where 0.01 = 1% of portfolio, and 1.00 = 100% of portfolio.
Long/Short (martingale): False or true input. If true, this input will be a 2 decimal number and will ONLY be used when previous trade is a loss. If “% at risk” is 1% and martingale value was set to 1.50, the next trade lot size will be 1*1.5 = 1.5% of total portfolio value, this should continue until there is a winning trade.
Long/Short (take profit value): 2 decimal place input. This will use the “stop loss value” per trade and multiply it by “take profit value”. A value of 1.50, means take profit value is multiplied by stop loss value. Example: If stop loss was 100 pips below entry and take profit value is 1.50, take profit is 150 pips above entry.
Long/Short (take profit lot size): 2 decimal value with a range of 0.00 to 1.00, where 1.00 = take profit on 100% of the lot size. When “take profit value” hits, stop loss for remaining lot size (if any) should move to break even. The remaining lot size would close once the indicator changes color or hits break-even.
This EA will only have 1 trade open at all times. Should be able to trade sp500, bonds, gold, forex, crypto in Oanda.
DO NOT add extra EA properties. I only need the ones mentioned above, thank you. I will need copy of code script for future editing.
Black dragon indicator used: https://www.mql5.com/en/market/product/39035?source=Site+Profile