Im looking for a command
Im looking for a command
15 May 2015, 20:21
hello im playing with a rsi bot but it opens to many orders when the rsi passes a certain level ... is there any command or any way to stop the bot opening more then 1-2 orders ? atleast until one of the opening orders gets filled ?
thanks for your help in advance :)
Replies
8065602
16 May 2015, 01:39
thanks for your help will try tomorrow but im not good with coding at all ...
but i managed today today to make on from scratch by copy pasting some codes :))
so so far it opens orders when the rsi hit level x but if it keeps at that level it keeps on opening more and more,till rsi drops under level x and i dont want this ... i want to find somehow to stop him opening more then 3 or 4 orders
i also managed to set it up to se tp & sl for the opened orders so im v happy about this :)) my plan for the weekend is to try to fix this issiu with to many orders and to try to add a trailing sl :D
@8065602
WhiteSage
16 May 2015, 00:42
Do check the reference samples, lots of goodies:
/forum/calgo-reference-samples/56
Looks like Positions.FindAll and a foreach loop is what you are after.
@WhiteSage