@zackry Honestly, I don't have a clue - try it 
I guess you can also leave it empty and use the fxdreema block "set current timeframe" instead. Whichever fits your project
@zackry Honestly, I don't have a clue - try it 
I guess you can also leave it empty and use the fxdreema block "set current timeframe" instead. Whichever fits your project
@zackry No problem lol
And yes, just set up the constants and parameters, and then copypaste the lines from mq4 to calculate
@zackry
You must first declare the constants and variables in your fxdreema project.
The red ones (ATR_TimeFrame, Risk_per_Trade, etc...) goes to your fxdreema constants list
The black ones (ATR_pips, RRR, lots) goes to your fxdreema variables list
@zackry Ok, lets study the mq4 code:



Hope this gets you started
Ctrl+f is useful when browsing the mq4 file
@zackry Hi. I don't really know much about custom indicators, they are too much hassle for me.
Those values shown as object are probably calculated with some simple algorithm. I would just find out how they are calculated, and just copy that part to my EA. The custom indi is an unnecessary complication
Something like this should be ok:

Note the correct Event, and also the custom function. I found the function from here: https://docs.mql4.com/trading/orderprofit
@setsuna When you measure the RSI of the current candle, you will notice that it constantly changes. If you measure two constantly changing RSI's, they will make many crossings every second. This tiny fluctuation doesn't show up in the historical graph, because that shows only the final value of each candle.
Measure only the completed candle (ID 1) to solve this problem.

Might be a history data problem - your terminal can't find the data for all pairs
@setsuna Share the current version pls
Try putting this to your lot field:
MathFloor(AccountBalance()/1000)*0.01
@ibrahamt
Working with time is a pain. If it fits your system, it would be much better to count the bars and work from there.
https://fxdreema.com/forum/search?term=barcount&in=titlesposts
Oh, I see. I guess you could open some shared mt5 project from this forum, and then use 2 browser tabs to copy-paste blocks from the mt4 builder.
I recommend buying the subscription at some point, though. 10 connections are not enough.
@zackry
In English:
lot B is bigger when loss A or lot A is bigger, and smaller when tp B is
bigger.
In math:
lot B = (loss A * lot A) / tp B
In computer:
https://fxdreema.com/shared/pCTJzt5D


Hope my math checks out lol
@wolamen I don't understand. Yes you can do this with mt5, just open a demo account on some broker.
https://fxdreema.com/shared/ZCoTSeTDb
The plan is to count seconds in the On Timer tab. You must set the onTimer period to 1 second from the options -> project options.
Now that we have the seconds counting, when bull candle appears, set the count to 0 -> now the variable can increase to 10, and we have our 10 seconds delay -> buy!
@eklonsousa Okay, thats interesting... Can you check the order age later on, with the pink block?
