How to select block via bool
-
Hi guys /Experts.
i want to make my ea to switch between risks. if i set all bools to true then i want all of the conditions to trade. but if i only select medium risk then i only want that one to trade is this possible? Please look at the image

-
i also wish to know about this
-
Yes if constant = true do this, if constant = false do this
-
@jstap can you please show me an example
-
If you put a project together, you can add a shared project here and say what's not working
-

heres an example of how to use a block to compare 2 variables. the right output is false, left is true
-
@TipsyWisdom To be honest i really need more than this example

-

that is this middle block, it is a boolean block. just type the name of your boolean in the block and if its true itll go left, else right -

-
@TipsyWisdom im strugling to understand.. i need a full example of one. can you give me an example for. if macd is above level 0 no trades should be opened. i got that right. now i want it to auto close trades when the lavel on macd is above 0. i got that right so now what i want to do is give it an option of a bool. auto close trades true or fales if level is above on the macd
-
Without seeing your project this is my best guess at what you're trying to achieve.
https://fxdreema.com/shared/NTO8Wh4U

-
@Ipod thank you very much ill try this