Only Buy once when a condition is true
-
Hi
i need to only buy once when my condition is true and even if i take profit and the condition remain to be true. say 5 MA crosses 20 MA above i want to buy and take profit of $50 using amount take profit.then after taking my $50 and the 5 MA remain above 20 MA i do not want to open another buy position, i only want to buy once under this true condition.
Then when 5 MA crosses 20MA below i sell and only once then after my sell i am now looking for buying opportunity after 5 MA crosses above 20 MA and i will only want to buy once until my buy set up so of like reset.
Thank u
-
@bchinhaba Do you have any initial project to begin with?
-
@bchinhaba i need this condition as well. Did u manage to get it to work?