i am testing an idea in an chart with 1 tick resolution.
My problem is, i can not generate more then one order in one direction.
If i have a long position, i can not buy again, to increase my size.
I tested every option under: format -> signal -> format the selected signal -> properties
I used "Allow any Entry and Exit"
The script is like this:
Code: Select all
[IntrabarOrderGeneration = True]
//.. some Inputs
//.. some variables
//..Calculating the Longsignal and save it in the boolean LongSignal
if LongSignal then Begin
Print(DateTimeToString_Ms(computerdatetime), "Place Buy Order ", NumToStr(possum,0));
buy possum Share this bar on close;
End;
The output in the log shows that additional entries are generated, but no order appears on the chart.
The same problem is with the short entry.
I have to use tickcharts, because i found no good solution to buy immediately at MARKET in an 15 Min Bar, if my entry condition is true.
What wrong?
thx!
Wegi