in a old post I found this code
Code: Select all
if PlaceMarketOrder(True, True, value1) = True then
ChangeMarketPosition(value1, close, "Final Buy");
Best regards
Massimo
Code: Select all
if PlaceMarketOrder(True, True, value1) = True then
ChangeMarketPosition(value1, close, "Final Buy");
Have you looked up the Wiki for explanation and usage examples?Hello,
in a old post I found this codePlease, could you explain to me the conditional statement "if PlaceMarketOrder(True, True, value1) = True".Code: Select all
if PlaceMarketOrder(True, True, value1) = True then
ChangeMarketPosition(value1, close, "Final Buy");
Best regards
Massimo
I would say, the old code is wrong.Hello TJ,
yes I looked in the wiki, but my question was for the conditional use =TRUE of PlaceMarketOrder that I can not find described anywhere.
Please, be so kind to explain .
Thank you
Best regards
Massimo
Then the code is correct.Strange, although unlikely.I would say, the old code is wrong.
The code comes from Dave Masalov
viewtopic.php?f=1&t=8414&p=42097&hilit= ... der#p42097