hey thanks for your input ive done what youve suggested but still no trades 
Latest posts made by fred2
-
RE: Those more skilled than meposted in Questions & Answers
-
RE: Those more skilled than meposted in Questions & Answers
Review it and see what’s wrong and ways I could improve
looking to build a bot that spot the liquidity traps and trade those following the trend
problems im facing 1 i see the setups but it isnt taking trades just leaving a bunch of lines which do look like great S&R but ...
this project isnt for free users seeing how there is more than 10 blocks
if you have ideas and would like to collab on this by all means just share your updated file in this thread
-
Those more skilled than meposted in Questions & Answers
I’m building a liquidity trap bot for mt5
Review it and see what’s wrong and ways I could improve
The horizontal lines seem pretty accurate for S&R but that’s
-
RE: sooo today i was fooling with chatgpt and....posted in Questions & Answers
yea it does its good for strategy structure but to get actual code is really really hard
-
sooo today i was fooling with chatgpt and....posted in Questions & Answers
today i was fooling around with chat gpt and created a ea for mlq5 that trades a strategy based on indicators and trend continuation i was having a hard time getting to code right so switched gears and had chat gpt create a text tutorial for fx dreema and now im stumped even more on how to interpet the text tutorial into a actual fx dreema project that follows all the rules i wanted so .. if any body can help by all means if you can figure a way to get this into a decent project where it complies and actually execute trades please provide any insight or contributions are great ..
strategy is
check to see if the last two 4 hr candles are above or below the 200 ema for that time frame respectively then looking for a 14 ema 21 sma cross on the 30 min for either buys or sells based on the 4 hour trend
for regular breakouts and5 min 14 /21 cross based on m30 already crossing and 4 hr trend in confluence
okay thats just a basic rundown heres the chat gpt text tutorial it wrote
Based on the updated requirements, let's revise the step-by-step process for creating the Nebula Breakout Expert Advisor in FX Dreema:
Step 1: Creating Constants and Variables
Constants:
DAILY_PROFIT_GOAL(string): The desired daily profit goal (e.g., "2%").STOP_LOSS_DISTANCE(string): The distance in pips for the stop loss level (e.g., "50").TRAILING_STOP_DISTANCE(string): The distance in pips for the trailing stop (e.g., "20").TRADE_START_TIME(string): The start time for trading (e.g., "17:00").TRADE_END_TIME(string): The end time for trading (e.g., "12:00").
Variables:
accountBalance(string): The current account balance.maxRiskPerDay(string): The maximum risk per day calculated based on the daily profit goal.positionSize(string): The calculated position size based on the max risk per day.lastTwoFourHourCandlesClosedAboveEMA(boolean): Indicates if the last two 4-hour candles closed above the 200 EMA.lastTwoFourHourCandlesClosedBelowEMA(boolean): Indicates if the last two 4-hour candles closed below the 200 EMA.fourHourCandlesAboveEMA(boolean): Indicates if the current 4-hour candle closed above the 200 EMA.fourHourCandlesBelowEMA(boolean): Indicates if the current 4-hour candle closed below the 200 EMA.thirtyMinEMA21SMA(boolean): Indicates if the 30-minute candle's 14 EMA crossed above the 21 SMA.fiveMinEMA21SMA(boolean): Indicates if the 5-minute candle's 14 EMA crossed above the 21 SMA.fiveMinEMA21SMACrossAbove(boolean): Indicates if the 5-minute candle's EMA crossed above the SMA.fiveMinEMA21SMACrossBelow(boolean): Indicates if the 5-minute candle's EMA crossed below the SMA.entrySignal(string): The generated entry signal.stopLossLevel(string): The calculated stop loss level.takeProfitLevel(string): The calculated take profit level.trailingStopLevel(string): The calculated trailing stop level.currentTime(string): The current time.
Step 2: Creating Entry Conditions
- Primary Logic:
- Use the "EMA" block to calculate the 200 EMA for the 4-hour timeframe.
- Use the "Candle Close" block to get the close prices of the last two 4-hour candles.
- Use the "Greater Than" block to check if both candle close prices are above the 200 EMA.
- Assign the result to the
lastTwoFourHourCandlesClosedAboveEMAvariable. - Use the "Less Than" block to check if both candle close prices are below the 200 EMA.
- Assign the result to the
lastTwoFourHourCandlesClosedBelowEMAvariable. - Use the "Candle Close" block to get the close price of the current 4-hour candle.
- Use the "Greater Than" block to check if the current candle close price is above the 200 EMA.
- Assign the result to the
fourHourCandlesAboveEMAvariable. - Use the "Less Than" block to check if the current candle close price is
below the 200 EMA.
- Assign the result to the
fourHourCandlesBelowEMAvariable. - Based on the above conditions, generate the
entrySignalaccordingly.
- Trend Continuation Logic:
- Use the "EMA" block to calculate the 14 EMA for the 30-minute timeframe.
- Use the "SMA" block to calculate the 21 SMA for the 30-minute timeframe.
- Use the "Greater Than" block to check if the 14 EMA crossed above the 21 SMA.
- Assign the result to the
thirtyMinEMA21SMAvariable. - Use the "EMA" block to calculate the 14 EMA for the 5-minute timeframe.
- Use the "SMA" block to calculate the 21 SMA for the 5-minute timeframe.
- Use the "Greater Than" block to check if the 14 EMA crossed above the 21 SMA.
- Assign the result to the
fiveMinEMA21SMAvariable. - Use the "EMA Cross" block to check if the 5-minute EMA crossed above the SMA.
- Assign the result to the
fiveMinEMA21SMACrossAbovevariable. - Use the "EMA Cross" block to check if the 5-minute EMA crossed below the SMA.
- Assign the result to the
fiveMinEMA21SMACrossBelowvariable. - Based on the above conditions, generate the
entrySignalaccordingly.
Step 3: Implementing Risk Management
- Calculate the
maxRiskPerDayby multiplying theaccountBalanceby the daily profit goal (DAILY_PROFIT_GOAL) divided by 100. - Calculate the
positionSizeby dividing themaxRiskPerDayby the stop loss distance (STOP_LOSS_DISTANCE).
Step 4: Setting Take Profit and Stop Loss
- Calculate the
takeProfitLevelby multiplying the stop loss distance (STOP_LOSS_DISTANCE) by 2. - Calculate the
stopLossLevelby subtracting the stop loss distance (STOP_LOSS_DISTANCE) from the current price (currentPrice).
Step 5: Implementing Trailing Stop
- Calculate the
trailingStopLevelby subtracting the trailing stop distance (TRAILING_STOP_DISTANCE) from the current price (currentPrice).
Step 6: Daily Trading Schedule
- Use the "Current Time" block to get the current time (
currentTime). - Use the "Greater Than" and "Less Than" blocks to check if the
currentTimeis greater than or equal toTRADE_START_TIMEand less thanTRADE_END_TIME. - If the condition is true, proceed with the trading logic. Otherwise, skip trading for the day.
Step 7: Account Profit Goal
- Calculate the desired account profit goal by multiplying the account balance by the daily profit goal.
- Use the "Greater Than" block to check if the account profit goal has been reached.
- If the condition is true, skip trading for the day.
Please note that this is a generalized outline, and you may need to modify and adapt the logic based on the specific features and capabilities of FX Dreema and the trading platform you're using.
if you can add or help make this better plz i dont care if you take the project bones and expand on it for your own just would like a frame work
heres my inital build
https://fxdreema.com/shared/j3kOdVLmethanks guys
-
RE: what did i do wrong ?posted in Questions & Answers
https://fxdreema.com/shared/tXywQGzP
switched them then found out the once per day has a hour filter , maybe variables throwing it off ?
-
what did i do wrong ?posted in Questions & Answers
https://fxdreema.com/shared/f6CvALkgd
looking to create a ea that trades with pending orders 5 pips above the high and 5 pips below based on a certain time range ? any help would be awesome thanks ea doesnt even open but logic seems right ?