NexusFi: Find Your Edge


Home Menu

 





reversing


Discussion in Platforms and Indicators

Updated
    1. trending_up 2,056 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
ankityadav
indore+india
 
Posts: 30 since Jun 2013
Thanks Given: 2
Thanks Received: 2

how to i reverse string and integer


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Second Night of US Strikes Crushes Iran June 15 to 3.6% …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 845

What do you mean by reverse?


Reply With Quote
  #3 (permalink)
ankityadav
indore+india
 
Posts: 30 since Jun 2013
Thanks Given: 2
Thanks Received: 2


it means that how to program in mql to reverse the string as well as to reverse an integer


Reply With Quote
  #4 (permalink)
RedLineFred
Brisbane Qld Australia
 
Posts: 2 since Jul 2013
Thanks Given: 0
Thanks Received: 2

//+----------------------------------------------------------------------------+
// Reverses the content of a string, e.g. "ABCDE" becomes "EDCBA"
//+----------------------------------------------------------------------------+
string StringReverse(string str)
{
string outstr = "";
for (int i=StringLen(str)-1; i>=0; i--)
outstr = outstr + StringSubstr(str,i,1);
return(outstr);
}


Reply With Quote
Thanked by:




Last Updated on August 24, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts