
How can I set up a condition for it to check only the previous candle if it meets the conditions?
I want the condition to be: Authorize entry only if the previous candle is considered to have a wick at the top.

How can I set up a condition for it to check only the previous candle if it meets the conditions?
I want the condition to be: Authorize entry only if the previous candle is considered to have a wick at the top.
Hello, I'm still learning, but I always consult some specialists who have constantly helped me to reach my goals. below I will mark them.
@roar @trader-philipps @Andorran
I would like to impose a buy or sell condition by analyzing the previous wick.
Buy only if the wick / trail of the previous candle is larger at the top.
Sell only if the wick / trail of the previous candle is larger at the bottom.
Note that in the image the condition would be for sale, since the wick / trail of the previous candle is greater at the top.

@roar @trader-philipps one last question:
I noticed that the numbers are appearing in the double format, even though I put int in the variables and constants, I need the numbers to be integers.
example: in the image is 1199.0
i need 1199 to appear only .0 should not appear, how can i make this happen ??

@roar said in Get the balance from the history tab ?:
If you want to multiply the intraday profit, just copy-paste that whole string of code into the formula field.
ok nowwww @roar 
Thank you very much @roar and @trader-philipps for help me in this resolution.
@trader-philipps said in Get the balance from the history tab ?:
@fabiobioware OrdersHistoryTotal() is the function @roar meant. Without the word function!
@roar and @trader-philipps I tested the first one and it seems to be working, but now I want to take the amount that he printed on the screen and multiply it by the number 5 and he is not performing the account correctly, can you tell me how to do it ?? follow the print of how I'm trying to do.
@roar or use OrdersHistoryTotal() functions - startbalance ?
@roar is the configuration correct?
replace OrdersHistoryTotal() with OrdersHistoryTotal() functions ?
@roar said in Get the balance from the history tab ?:
Store your balance in a variable once per day, and then compare your current balance to that variable
@roar Did not work.
Follows the screen image.
@roar The profit I want to check is daily.
For this I am filtering on the metatrader itself.
The problem is that this balance appears on the screen.
Hello admin from fxdreema @fxdreema, I would like as a last chance to know how to print on the screen using the block "coment" the value of the sum of the "Profit" field that is in the "history" tab
I marked in red in the image exactly what and where I want it, is this possible? if so can you guide me on how to do it?
I have tried in countless ways and failed.
@l-andorrà not work fine, sane situation, i will found programmer to create code for me input on the fxdreema
@l-andorrà said in Show Proft and Loss information.:
I see you are using MT5. I'm afraid that is the reason. I know that in MT5 the list of closed trades in your history trade tab is not acceed the same as it is in MT4. The administrator himself confirmed this to me. I guess the reason why it works in backtest is that there is no history at all there.
I'm afraid you will need a real programmer for this issue. I'm not your man for this, sorry.
Oh my God, what bad news.
I will unfortunately have to look for a programmer to try to overcome this limitation that I found on FXdreema, I also tried all the ways and really what became evident is that fxdreema does not meet this expectation of the idea that I had, I will try to work around it somehow to overcome this idea and go in search of an mql5 programmer.
Thanks for all the help my friend.
@l-andorrà @trader-philipps and @fxdreema Can you guys help me solve this problem?
Bellow url to access:
https://fxdreema.com/shared/C1JkBiDfe
@l-andorrà If you observe, during the backtest the value informed in the red markings are the same and this is correct, but this only works correctly in the backtest, in the real market the information is as shown in the previous image in the post.
@l-andorrà The backtest worked perfectly.
In the real market it is not displaying the data correctly. Field is " GANHO NO MOMENTO "
Could you help me understand the reason for this difference in the display of information?
https://fxdreema.com/shared/4ogGeH7Mc

@l-andorrà Hello my friend, I managed to make it work this way below
