learn how to earn money villagers [Episode 2] ! - page 102
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Day three of manual trading, trading is over for today
Congratulations! I have a bunch of sells on the euro on a pullback down - closed, on the pound - not...
50,000 cent - went over - already good! :-)
Greetings.
maybe someone is familiar with this code:
i can't seem to change this: when a deal was closed in minus, the loop is opened and if next order is closed above zero, i.e. positive balance, but less than negative, we add plus to negative and get a new negative value, which is already less.
If it is more negative, according to the signal, we close the order and start the cycle from the beginning.
Hello.
Perhaps someone is familiar with this code:Yes. This is my code. I already wrote you that I use it in my rollover martin as follows:
If last trade (pose) was closed in profit, then we zero out the number of flips (Iteration) and start with starting lot, if in minus,
then count the number of losing trades in a row and open in the opposite direction with an increased volume.
This is a netting version of Avalanche (see the branch with the same name ), i.e. market order is closed (at position flip on increased volumes) and the opposite market order is opened on larger volumes depending on the share scheme. Here is my working part of the code. Edit it to suit your needs if you have a similar exp algorithm. I do not understand anything in your question. You can ask regardless of the situation in the "Any newbie question ...", just elaborate on your question, because nothing (at least for me) is clear - at all.
P.S. You're going to take all my battle robot out of my hands, which I'm eating right now. I've been working on it with interruptions and exits to proper algorithms since September 2010. See thread - Avalanche.
Continuation of the code in the trailer as it is larger than the permitted size:
Yes. This is my code. I already wrote you that I use it in my rollover martin as follows:
If the last trade (pose) was closed in profit, then we zero out the number of flips (Iteration) and start with the starting lot, if in deficit,
we calculate the number of losing trades in a row and open in the opposite direction by increasing the volume.
This is a netting version of Avalanche (see the branch with the same name ), i.e. market order is closed (at position flip on increased volumes) and the opposite market order is opened on larger volumes depending on the share scheme. Here is my working part of the code. Edit it to suit your needs if you have a similar exp algorithm. I do not understand anything in your question. You can ask regardless of the situation in the branch "Any newbie question ...", but describe your question in more detail, because nothing (at least for me) is clear - at all.
P.S. This is how you're going to lure out all my battle robot, which I'm eating out of my hand. I've been working on it with interruptions and exits to proper algorithms since September 2010. See thread - Avalanche.
I've already asked in the "any newbie question" thread and there is silence.
The situation is that when this code closes the deal in loss, it remembers the minus balance, and when it closes the deal in the plus, and the plus is less than the balance, it zeroed Sum_Loss, and I need that it would not zeroed, and mowed down.
So this is how it works now:
it checks a closed order, if the profit of closed order is less than zero, then this profit is added to Sum_Loss, and so on until the profit of open trade exceeds (will be more than) Sum_Loss, when reached, the trade is closed, and Sum_Loss is zeroed and the cycle begins again.
I need:
order closed in minus, its minus profit was added to Sum_Loss, then if the next deal closed with a positive profit, Sum_Loss is reduced by the amount received from the profit, which means that the next open order Sum_Loss is already a smaller amount, and so on until the order profit is higher than Sum_Loss, and then Sum_Loss is cleared and a new cycle starts.
Sum_Loss = 0;
1st closed order: Profit (-50) < 0
Sum_Loss + profit (Sum_Loss + (-50))
Sum_Loss = -50;
2nd closed order: Profit (+40) > 0 and Sum_Loss < 0
Sum_Loss + profit (Sum_Loss + 40)
Sum_Loss = -10
1. I have already addressed the "any beginner's question" thread and there is silence.
The situation is that when this code closes a deal in loss, it remembers the negative balance, but when it closes a deal in profit, and the plus is less than the balance, it resets Sum_Loss, but I need it not to reset, but to mow down.
2. So, right now this is how it works:
it checks a closed order, if the profit of closed order is less than zero, then this profit is added to Sum_Loss, and so on until the profit of open deal does not exceed (will be more than) Sum_Loss, when reached, the deal is closed, and Sum_Loss is reset and the cycle begins again.
3. I need:
The order closed with a minus, its minus profit was added to Sum_Loss; then if the next deal closed with a positive profit, Sum_Loss is decreased by the amount received from the profit; it means that the next open deal will receive a smaller Sum_Loss amount, and so on, until the order profit is larger than Sum_Loss, and then Sum_Loss is cleared and a new cycle starts.
Sum_Loss = 0;
1st closed order: Profit (-50) < 0
Sum_Loss + profit (Sum_Loss + (-50))
Sum_Loss = -50;
2nd closed order: Profit (+40) > 0 and Sum_Loss < 0
Sum_Loss + profit (Sum_Loss + 40)
Sum_Loss = -10
1. apply again - there are people there who will definitely help. Having previously put your code in that branch... (as it is)
2. That's right, because this is Avalanche's basic algorithm.
3. All this and describe it in the beginner's thread with your code for this algorithm. People will correct it. Start writing code on mcl4 yourself consistently and quietly.
If you can't do it yourself, go to the "Jobs" section of the fifth forum - they write there for food...
Will write code from scratch for free ONLY if you have personal interest!
Everything.
You can exhale... :-)
Bunch of orders this time... :-) closed in profit!
DoublePlus and vse_dlya_sela_J_OsMA_kh owls + my variant (also with description of TS) with settings - in branch.
You can exhale... :-)
Bunch of orders this time... :-) closed in profit!
DoublePlus and vse_dlya_sela_J_OsMA_kh owls + my variant (also with description of TS) with settings - in the branch.
And you personally know how to program?
I'm not much of a programmer.
Maybe you can still help me complete the code?
You can exhale... :-)
Bunch of orders this time... :-) closed in profit!
I'm not much of a programmer.
Maybe you can help me finish the code after all?