@talalkhan I do not know what values you are getting from your indicator, referance the value vs the candle ID, this will tell you if the tine is higher/lower now to a previous candle position.
Posts made by jstap
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
-
RE: Sort Ranging/Sideways Market, Only Trade Massive Trendposted in Questions & Answers
@slimmz This is how I would do it, have you used the cross hair to check the distance?
-
RE: RSI signalposted in Questions & Answers
@andrewfrank ==true isn't needed, never used in this block as works without, probably would cause true/false to be incorrect, it may cause the variable to be modified to true, put the variable into a comment block so you can see what is or isn't working.
-
RE: RSI signalposted in Questions & Answers
@andrewfrank In HERE is how I would do it, couldent understand what you meant for 3 but, you should see enough to use.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@talalkhan When using a negative value use <.
-
RE: two blocks with in same moduleposted in Questions & Answers
@haikel Use a bool variable to set to true when 1st condition happens, trade open on 2nd condition, reset the variable to false when the condition is no longer valid.
-
RE: Help with custom indicatorposted in Questions & Answers
@alex81 All looks correct, now put results into a comment block, maybe use indicator visible/appear to change a variable and see which buffer contains the value you need to work with.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@talalkhan I am unsure what you mean, the modify variables block will change to any number you want it to.
-
RE: stop loss on Parabolic SARposted in Questions & Answers
@haikel That is what I sent but, this uses candle 1 (last closed candle), if you use candle 0 it will use the current forming candle.
-
RE: Variable versioning across different pairsposted in Questions & Answers
@xlestergg They are added in the same EA, if you have separate trees for each pair then these values will need to be calculated separately, using custom code getting values for each pair is possible, I just don't know how. By adding to a separate chart it will be pair specific but all done by just adding, if you want something like maximum trades regardless of pair this can be done from 1 block.
-
RE: I need help with this project pleaseposted in Questions & Answers
@khalids222 What are you saying?
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@talalkhan This depends on wether 15 is the result you need in the variable, would of thaught you need a Boolean true or false to allow/disallow trade.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@talalkhan another modify variable block with the reset value you want.
-
RE: Alternate trade onlyposted in Questions & Answers
@haikel Putting this on the on trade tab will do this.

-
RE: Momentum line Crossing at 100 valueposted in Bug Reports
@haikel Yes but the condition block will check the indicator value regardless of windoe.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@talalkhan Set a separate tree with oscillator line = 25 reset variable.
-
RE: Alternate trade onlyposted in Questions & Answers
@haikel There are multiple options for this, you can add a hedge order upon order, you can add a pending, you can set condition of when to buy/sell, you can add position on close. Decide what option you would like to use, and help can be given.
-
RE: stop loss on Parabolic SARposted in Questions & Answers
@haikel You need to do something like this

-
RE: I need help with this project pleaseposted in Questions & Answers
@khalids222 I will try and help but I am unsure how to use bucket of trades, I think you should have bucket in a seperate tree to the pink, bucket will change the variable then the for each will use without being connected, just ensure timbers are in correct order