AlgoWizard/Full Editor: Inquiry Block/Condition: 'For each trade'

Hi Marc,

please insert in the AlgoWizard/Full Editor the
Condition Block name: For each Trade

What it does
This block loops through all trades that matches the filter settings (e.g.: Group = Magic No). For each trade next blocks are executed, and they are supposed to be blocks (from the same category) that will check the trade's attributes (stop loss, take profit...) or modify/close the trade. You can also access the attributes using "Condition" block.

Note that this block is a driver - when it is executed once it can pass many times, depending on how many trades are filtered

How it works:
1. It checks how many trades are running at the moment.
2. Depending on the selected loop direction it starts to load all available trades one after another (loading a trade means that it's attributes (open price, volume size...) are ready to be checked and it is prepared to be modified or closed)
3. If the currently loaded trade matches the filter settings, the output is activated. Otherwise it skips the trade and it continues to the next one.
4. The  output of this block can be activated as many times as many trades are passed the filter settings! When you have blocks connected after this block, they are executed immediately, so the next trade will be loaded after next blocks does their work.
5. When all available trades are checked and the output was activated as many times as needed, the block goes to it's output. Or basically, it goes to the output always after the work is finished.

 In what case are they act?:
Once for each trade that is filtered with this block. It can be said that blocks connected to this output are executed "within" this block. Once when the work is done.

For more details see attachment.


This content is also dependent on


Kind regards,
Diwi
Attachments
For each trade.jpg
(126.41 KiB)
  • Votes 0
  • Project AlgoWizard
  • Type Feature
  • Status New
  • Priority Normal

History

Dw
#1

Diwi

04.10.2018 07:29

Task created


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please