Limit orders in loop

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

Limit orders in loop

Postby Shaman » 30 Nov 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: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Limit orders in loop

Postby wilkinsw » 02 Dec 2019

A measure to stop Knight Capital happening again!

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

Re: Limit orders in loop

Postby Anna MultiCharts » 24 Dec 2019

Hello, Shaman!

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


Return to “MultiCharts”