@l-andorrà Hola. Lo he modificado y he puesto varios bloques segun lei tambien de un post de miro1360 sobre lineas y objetos pero me sigue dando error con las variables y constantes. Sobre lo de la pestaña Timer si lo cambio a la del Tick me he dado cuenta que no se regenera hasta que se genera un nuevo tick cosa que con Timer es casi inmediato. Aqui esta el status actual :
Posts made by XYON126
-
RE: Lotage calculation between two lines (Solved)posted in Questions & Answers
-
RE: Lotage calculation between two lines (Solved)posted in Questions & Answers
Ayuda, he llegado a este punto pero creo que esta todo mal, me salen muchos errores.
https://fxdreema.com/shared/kGH1BPTad -
RE: get the total number of open trades (Solved)posted in Questions & Answers
@l-andorrà Hello Andorrá, I understand that each group executes the count of operations with losses, operations with gains and that of the formula adds the previous two and that the information button or label has the variable of each case as its value. Is that so? or something else is missing, because I get "0" in all the buttons.
-
RE: Lotage calculation between two lines (Solved)posted in Questions & Answers
@l-andorrà The initial idea is to manually draw two horizontal lines or, failing that, only one as Stop Loss and that by pressing a button that calculates the necessary lots for me between that line and the current price, there will be an operation with the specified percentage (included within the order) and the other option that I think is not possible with a preset amount of € or $ as well. In this way I open trades with the lot already calculated automatically with the EA.
-
get the total number of open trades (Solved)posted in Questions & Answers
How can I get the total number of open trades, trades in loss and trades to be able to view them on a panel.
-
Lotage calculation between two lines (Solved)posted in Questions & Answers
Hello! Could someone inform me how to do the following:
I want to put two horizontal lines, one would be the entry and the other the Stop Loss with these two lines drawn and identified (entry = ORD and stop Loss = SL)
once these two lines are drawn, in a panel pressing a button (Buy or SELL) I calculate the distance in pips and with% of the balance I generate the operation of SELL or BUY with the appropriate lot. -
RE: Do any of you pay for fxdreema? i need your help please. Its for a Profitable EA.posted in Questions & Answers
@tt Hello! I have the payment fxDreema, I have 58 days left, in which I can help you.
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading
Hello! It does not work, what gives is the historical not the current Profit. I just tried it. -
RE: @roar, Sell now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)posted in Questions & Answers
@pontedruse Thanks a lot. One question: you comment that to put 1% in the constant PERCENTAGE I have to put 0.01, if in the "custon MQL code" block that has this code "LOT = (AccountEquity () * PERCENTAGE / 100000);" I change it to this "LOT = (AccountEquity () * PERCENTAGE / 1000);" Can I put the normal percentage, that is, instead of for 1% put 0.01, for 1% put 1, or is it a lotage problem and it does not allow it?Another query, in the "on init" tab, are there two disconnected blocks, do you have to connect them, they are already fine like that or they do nothing and can they be eliminated?
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading How can I get the PAR where I am? I think that with the Block "Set" Current Market "for next Blocks" with a variable that gives the previous data it would be possible too. What do you think?
-
RE: @roar, Panel and button problems. (Solved)posted in Questions & Answers
@l-andorrà Hola Andorra, parte del problema esta solucionado, como ves he modificado el post, pruebalo y mira si parte de este Panel (funcionando) te es valido.
-
RE: @roar, Sell now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)posted in Questions & Answers
@l-andorrà La idea no esta mal, pero el problema es que si lo realizo llego a poderlo conseguir, pero abro operaciones a lo tonto que solo beneficia al Brocker con el agravante que si el PAR tiene un Spread muy grande pues eso que con 5 operaciones le regalo a lo tonto 5€ o mas, dependiendo del tamaño de la operacion y que tenga suerte y sea con beneficio, sino le tengo que sumar las perdidas si sale negativa. Pero gracias de todas maneras.
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading Thank you so much. Just one more thing, I have tried it in different pairs (EURUSD, EURJPY, etc) and I have found that the Profit that it gives me is not the one of the PAR where the button is but the sum of all the pairs and I need it to be only of the total of the pair, that is, if the button is in EURUSD that is only the total of the EURUSD operations and thus in each PAR that the button puts. It's possible?
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading Sorry, I'm very clumsy. Where and how should I change the double variable to string?
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading OKAY! I will prove it. Is it possible to limit the decimal places that instead of leaving 6.5300000001 you get only 6.53 or 6.5?
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading Hi Fenix! Thank you very much, it is perfect. One more question, do you know if by copying the MQL code I can pass it as an indicator instead of EA to MT4, or on the contrary, how could I pass it as an indicator?
-
RE: Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
@fenixtrading Thank you very much but i get the button only in gray and it does not change color, nor does it give me the current profit, it stays at "0"
-
Miro1360, Please Help, Button informing the current profit. (Solved)posted in Questions & Answers
miro1360, I need help, I want to put a button that informs me of the current profit of all open operations in the Pair where the button is, at the same time if the profit is positive the button will turn green, if it is negative it will turn red and if it is "0" in gray. I say button because I do not want a text on the screen without more, I want it to be seen inside a box, so I think that a button would be the most appropriate. I have reached this point but the text, or data does not come out and I do not know how to add the open operations and if the total comes out in the current Protit of the pair. Please, Help. Thank you very much and sorry for my English.
-
RE: Break even all operations + total pipsposted in Questions & Answers
@alex222 Hi Alex, when you say they move, do you mean the level that you have marked in red? If so, what you should do is a variable where and an input button to indicate where you want that level to be, if you do not know that level you should enter a block to modify the variable that will be modified when it receives internally those data, etc. but here we already enter a field that escapes my knowledge, maybe Andorrá or roar can help you better, unless with the idea and you know how to program you can do it yourself.
By the way, how did you enter the photo directly? I have not found the way. Could you inform me and pass me the Link of that website?