Limit orders in loop

Questions about MultiCharts and user contributed studies.
Shaman
Posts: 32
Joined: Dec 03 2018
Has thanked: 5 times

Nov 30 2019

Hi!

I need to submit several bids at equal intervals of price. I wanted to do this in a loop. But received an error message.
Why can't buy and sell operators be used inside a loop? I am ready to give different names to these inputs.
Is there any way around this limitation?

Or has nothing changed in this matter since this discussion?
viewtopic.php?f=1&t=8113&p=37662&hilit= ... oop#p37662

Best regarts

wilkinsw
Posts: 662
Joined: Apr 21 2013
Has thanked: 154 times
Been thanked: 104 times

Dec 02 2019

A measure to stop Knight Capital happening again!

User avatar
Anna MultiCharts
Posts: 560
Joined: Jul 14 2017
Has thanked: 42 times
Been thanked: 141 times

Dec 24 2019

Hello, Shaman!

There is no way around this. The architecture of PowerLanguage doesn’t allow looping.