Register
Log In
Forums
Starting with Zorro
2 questions
Forums
Calendar
Active Threads
Search
Forum Help
Gamestudio Links
► Features
► Download
► Online Manual
► Online Tutorial
► Free Resources
► F.A.Q.
Zorro Links
► Download
► Online Manual
► Online Tutorial
► Blog
► Support
► What's New?
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
♪♫♪ [For hire] VOLKOVSTUDIO - Music, SFX, Voice over, implementa
by Volkovstudio. 03/25/24 12:30
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
Who's Online Now
5 registered members (
AndrewAMD
,
monk12
,
TipmyPip
,
Quad
,
aliswee
), 1,029 guests, and 6 spiders.
Key:
Admin
,
Global Mod
,
Mod
Newest Members
sakolin
,
rajesh7827
,
juergen_wue
,
NITRO_FOREVER
,
jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2 questions
#481227
08/14/20
10:05
08/14/20
10:05
Joined:
Mar 2019
Posts: 357
D
danatrader
OP
Senior Member
danatrader
OP
Senior Member
D
Joined:
Mar 2019
Posts: 357
First, how to make sure only trades in profit (loss) are closed?
Is this correct?
for(open_trades){
if(TradeIsProfit){
Lots = TradeLots;
exitTrade();
}
Second, ... hmm, first is most important.
Last edited by danatrader;
08/14/20
10:46
.
Re: 2 questions
[
Re: danatrader
]
#481230
08/14/20
12:50
08/14/20
12:50
Joined:
Jul 2000
Posts: 27,977
Frankfurt
jcl
Chief Engineer
jcl
Chief Engineer
Joined:
Jul 2000
Posts: 27,977
Frankfurt
Use TradeProfit > 0. TradeIsProfit only indicates that the profit target is hit.
Moderated by
Petra
Hop To
Gamestudio ------
Starting with Gamestudio
Atari lite-C
Editors & Templates
A8 Engine
Shaders
Third Party Tools
Acknex Users Magazine
The Past
The Future
Zorro ------
Starting with Zorro
Educational
Automated Trading
Zorro Scripts
The Z Systems
Zorro and the Brokers
Zorro Future
Feedback ------
Bug Hunt
Blame the Manual
Ask the Developers
Updates & Announcements
Rants
Game Creation ------
Game Design & Business
Jobs Wanted
Jobs Offered
User Resources
Projects
Showcase
Beyond Games & Money ------
Hilbert's Hotel
Morbius' Virtual Answering Machine
Print Thread
Switch to Threaded Mode
5
Excellent
4
Good
3
Average
2
Bad
1
Terrible
View Profile
Send Private Message
Follow User
Show Forum Posts
View Profile
Send Private Message
View Homepage
Follow User
Show Forum Posts
Default Style
gamestudio
UBBT77
UBBT77 - Dark2
Forum Rules
·
Mark All Read
·
Powered by UBB.threads™ PHP Forum Software 7.7.1