Thread: MQL4 Learning
View Single Post
  #182 (permalink)  
Old 08-02-2007, 09:52 PM
justize justize is offline
Member
 
Join Date: Feb 2007
Posts: 30
justize is on a distinguished road
Hello again ^^

for a MM-algorithm i need the following, maybe someone has an idea:

standardlotsize = 1
when the last trade was a winner (positive profit) : newlotsitze = 0.5*standardlotsize
when the last trade was a looser (negative profit) : newlotsize = 2*standardlotsize

Is there any command to get the profitinformation of the last trade? With it would be simple to generate this algorithm.

Thanks readers

PS: Attachment was a mistake...
Attached Images
File Type: jpg failure.JPG (52.4 KB, 81 views)

Last edited by justize; 08-02-2007 at 10:00 PM.
Reply With Quote